combine.xslt 682 B

123456789101112131415
  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="no" standalone="yes" />
  7. <xsl:template match="/">
  8. <doxygen version="{doxygenindex/@version}" xml:lang="{doxygenindex/@xml:lang}">
  9. <!-- Load all doxygen 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>