[Doxygen-develop] Re: XML Output
Brought to you by:
dimitri
From: Bjoern G. <bjo...@gm...> - 2002-11-19 06:45:03
|
Hi, As a re to Kilian Kiko, Johan Eriksson and Cormac Twomey here is a small XSL code that will merge all xml: <xsl:stylesheet xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" version=3D"1.0"> <xsl:output method=3D"xml" version=3D"1.0" indent=3D"yes" standalone=3D"yes" /> <xsl:template match=3D"/"> <doxygen version=3D"{doxygen/@version}"> <!-- Load all doxgen generated xml files --> <xsl:for-each select=3D"doxygen/compound"> <xsl:copy-of select=3D"document( concat( @refid, '.xml' ) )/doxygen/*" /> </xsl:for-each> </doxygen> </xsl:template> </xsl:stylesheet> Use this with an external XSLT processor [1] on the doxygen generated index.xml et voila :) Hope this helps, Bj=F8rn. [1] I'm only aware of MS cmd line util: http://msdn.microsoft.com/downloads/default.asp?URL=3D/code/sample.asp?ur= l =3D/msdn-files/027/001/485/msdncompositedoc.xml |