summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2011-12-08 13:48:48 -0800
committerJohnathan Corgan <jcorgan@corganenterprises.com>2011-12-08 13:48:48 -0800
commit00420d32081d8252bb37142b2be19a8a7c4dc4c4 (patch)
tree12c6bf83f01ffc4eff010102090bb687a1233558 /gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt
parentf52be4a8f0fa203ed206d0e0afc099856eb5bd03 (diff)
Removed autotools, gr-waveform, some cleanup
Nick Foster owes Nick Corgan a six-pack of beer!
Diffstat (limited to 'gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt')
-rw-r--r--gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt15
1 files changed, 15 insertions, 0 deletions
diff --git a/gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt b/gr-howto-write-a-block/docs/doxygen/doxyxml/example/xml/combine.xslt
new file mode 100644
index 0000000000..abdd9ac759
--- /dev/null
+++ b/gr-howto-write-a-block/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>