Orb/Doxygen/DITA/combine.xslt
changeset 2 932c358ece3e
equal deleted inserted replaced
1:82f11024044a 2:932c358ece3e
       
     1 <!-- XSLT script to combine the generated output into a single file. 
       
     2      If you have xsltproc you could use:
       
     3      xsltproc combine.xslt index.xml >all.xml
       
     4 -->
       
     5 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
       
     6   <xsl:output method="xml" version="1.0" indent="yes" standalone="yes" />
       
     7   <xsl:template match="/">
       
     8     <doxygen version="{doxygenindex/@version}">
       
     9       <!-- Load all doxgen generated xml files -->
       
    10       <xsl:for-each select="doxygenindex/compound">
       
    11         <xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" />
       
    12       </xsl:for-each>
       
    13     </doxygen>
       
    14   </xsl:template>
       
    15 </xsl:stylesheet>