Commit 14c6a8051b33c1aed1a4ef21dd94116b23bf6602

Authored by Colomban Wendling
1 parent 5d8f1bb5
Exists in python

Fix the name of generated sections to be unique

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
strip-frames.xsl
... ... @@ -113,7 +113,7 @@
113 113 <xsl:comment>draw:text-box</xsl:comment>
114 114 <xsl:element name="text:section">
115 115 <xsl:attribute name="text:name">
116   - <xsl:value-of select="concat('PlaceholderSection', position())" />
  116 + <xsl:value-of select="concat('PlaceholderSection', count(preceding::*))" />
117 117 </xsl:attribute>
118 118 <xsl:apply-templates select="./draw:text-box/*"/>
119 119 </xsl:element>
... ...