mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Try to fix issue with id attributes instead of refid attributes in the index
[SVN r24266]
This commit is contained in:
parent
66296dbae8
commit
b91d3519d6
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user