Explorar el Código

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 hace 15 años
padre
commit
8f75d04af0
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      test/xsl/fo-replicator.xsl

+ 3
- 3
test/xsl/fo-replicator.xsl Ver fichero

@@ -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>

Cargando…
Cancelar
Guardar