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