Try to fix issue with id attributes instead of refid attributes in the index

[SVN r24266]
This commit is contained in:
Douglas Gregor 2004-08-03 12:03:28 +00:00
parent 66296dbae8
commit b91d3519d6

View File

@ -19,12 +19,36 @@
<!-- Load all doxgen generated xml files -->
<xsl:for-each select="doxygen/compound">
<xsl:variable name="id">
<xsl:choose>
<xsl:when test="@refid">
<xsl:value-of select="@refid"/>
</xsl:when>
<xsl:when test="@id">
<xsl:value-of select="@id"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:if test="$id">
<xsl:copy-of select="document( concat($doxygen.xml.path, '/',
@refid, '.xml' ) )/doxygen/*" />
$id, '.xml' ) )/doxygen/*" />
</xsl:if>
</xsl:for-each>
<xsl:for-each select="doxygenindex/compound">
<xsl:variable name="id">
<xsl:choose>
<xsl:when test="@refid">
<xsl:value-of select="@refid"/>
</xsl:when>
<xsl:when test="@id">
<xsl:value-of select="@id"/>
</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:if test="$id">
<xsl:copy-of select="document( concat($doxygen.xml.path, '/',
@refid, '.xml' ) )/doxygen/*" />
$id, '.xml' ) )/doxygen/*" />
</xsl:if>
</xsl:for-each>
</doxygen>
</xsl:template>