File: combine.xslt

package info (click to toggle)
gr-air-modes 0.0.2.c29eb60-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,348 kB
  • ctags: 2,759
  • sloc: python: 12,444; cpp: 457; xml: 263; makefile: 46; ansic: 35; sh: 1
file content (15 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- XSLT script to combine the generated output into a single file. 
     If you have xsltproc you could use:
     xsltproc combine.xslt index.xml >all.xml
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="xml" version="1.0" indent="yes" standalone="yes" />
  <xsl:template match="/">
    <doxygen version="{doxygenindex/@version}">
      <!-- Load all doxgen generated xml files -->
      <xsl:for-each select="doxygenindex/compound">
        <xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" />
      </xsl:for-each>
    </doxygen>
  </xsl:template>
</xsl:stylesheet>