mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-11 13:23:59 +00:00
Extended the hack in docbook.xsl for dealing with nested <part> elements.
It now handles the case of <appendix> children of <part>. [SVN r40554]
This commit is contained in:
parent
d2d2c4b90a
commit
ba2b0af02c
@ -461,7 +461,7 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '<xsl:value-o
|
||||
<xsl:template match="part/part/partinfo|part/article/articleinfo">
|
||||
<chapterinfo><xsl:apply-templates/></chapterinfo>
|
||||
</xsl:template>
|
||||
<xsl:template match="part/part/chapter">
|
||||
<xsl:template match="part/part/chapter|part/part/appendix">
|
||||
<section>
|
||||
<xsl:for-each select="./@*">
|
||||
<xsl:attribute name="{name(.)}">
|
||||
@ -471,7 +471,7 @@ Error: XSL template 'link-or-anchor' called with invalid link-type '<xsl:value-o
|
||||
<xsl:apply-templates/>
|
||||
</section>
|
||||
</xsl:template>
|
||||
<xsl:template match="part/part/chapter/chapterinfo">
|
||||
<xsl:template match="part/part/chapter/chapterinfo|part/part/appendix/appendixinfo">
|
||||
<sectioninfo><xsl:apply-templates/></sectioninfo>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user