Browse Source

Bugfix for replicator stylesheet: Only IDs in the FO namespace shall be adjusted. Adjusting also SVG IDs can result in errors.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744862 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_0
Jeremias Maerki 15 years ago
parent
commit
8f75d04af0
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      test/xsl/fo-replicator.xsl

+ 3
- 3
test/xsl/fo-replicator.xsl View File

@@ -50,15 +50,15 @@
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template match="@id">
<xsl:template match="fo:*/@id">
<xsl:param name="run"/>
<xsl:attribute name="id"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>
<xsl:template match="@ref-id">
<xsl:template match="fo:*/@ref-id">
<xsl:param name="run"/>
<xsl:attribute name="ref-id"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>
<xsl:template match="@internal-destination">
<xsl:template match="fo:*/@internal-destination">
<xsl:param name="run"/>
<xsl:attribute name="internal-destination"><xsl:value-of select="."/>-<xsl:value-of select="$run"/></xsl:attribute>
</xsl:template>

Loading…
Cancel
Save