diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-20 09:41:07 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-16 20:38:30 -0800 |
commit | de849caeb9d689ab0ffd9d8279ba0cb1af925753 (patch) | |
tree | be4b7ab8b47c4ba918c54c97064f7d4929b436a1 /docs/doxygen/doxyxml/example/xml/combine.xslt | |
parent | 9a25332b706b1ffadf8cdf9b405e89c37a1e2278 (diff) |
docs: grabbed support files from ben's repo and my repo
Diffstat (limited to 'docs/doxygen/doxyxml/example/xml/combine.xslt')
-rw-r--r-- | docs/doxygen/doxyxml/example/xml/combine.xslt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/doxygen/doxyxml/example/xml/combine.xslt b/docs/doxygen/doxyxml/example/xml/combine.xslt new file mode 100644 index 0000000000..abdd9ac759 --- /dev/null +++ b/docs/doxygen/doxyxml/example/xml/combine.xslt @@ -0,0 +1,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> |