mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Fixed printing of object name for nested classes (merge of
revision 41421 from sandbox/boost_docs). [SVN r41697]
This commit is contained in:
parent
5f51364945
commit
37256d548a
@ -21,12 +21,13 @@
|
|||||||
|
|
||||||
<!-- get name of first ancestor-or-self which is a class, struct or union -->
|
<!-- get name of first ancestor-or-self which is a class, struct or union -->
|
||||||
<xsl:template name="object-name">
|
<xsl:template name="object-name">
|
||||||
<xsl:value-of select="(ancestor-or-self::class |
|
<xsl:variable name="ancestors" select="ancestor-or-self::class |
|
||||||
ancestor-or-self::class-specialization |
|
ancestor-or-self::class-specialization |
|
||||||
ancestor-or-self::struct |
|
ancestor-or-self::struct |
|
||||||
ancestor-or-self::struct-specialization |
|
ancestor-or-self::struct-specialization |
|
||||||
ancestor-or-self::union |
|
ancestor-or-self::union |
|
||||||
ancestor-or-self::union-specialization)/@name[last()]"/>
|
ancestor-or-self::union-specialization"/>
|
||||||
|
<xsl:value-of select="$ancestors[last()]/@name"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- get name of access specification that we are inside -->
|
<!-- get name of access specification that we are inside -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user