use relative paths when loading external xml entities to make win32 xsltproc happy

[SVN r47872]
This commit is contained in:
Eric Niebler 2008-07-29 21:48:11 +00:00
parent 99b6f16898
commit 170d49e611

View File

@ -9,8 +9,6 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <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:output method="xml" version="1.0" indent="yes" standalone="yes" />
<xsl:param name="doxygen.xml.path">./</xsl:param>
<xsl:template match="/"> <xsl:template match="/">
<doxygen> <doxygen>
<xsl:attribute name="version"> <xsl:attribute name="version">
@ -37,8 +35,7 @@
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:if test="$id"> <xsl:if test="$id">
<xsl:copy-of select="document( concat($doxygen.xml.path, '/', <xsl:copy-of select="document( concat( $id, '.xml' ), / )/doxygen/*" />
$id, '.xml' ) )/doxygen/*" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<xsl:for-each select="doxygenindex/compound"> <xsl:for-each select="doxygenindex/compound">
@ -53,8 +50,7 @@
</xsl:choose> </xsl:choose>
</xsl:variable> </xsl:variable>
<xsl:if test="$id"> <xsl:if test="$id">
<xsl:copy-of select="document( concat($doxygen.xml.path, '/', <xsl:copy-of select="document( concat($id, '.xml'), /)/doxygen/*" />
$id, '.xml' ) )/doxygen/*" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</doxygen> </doxygen>