Author: jeremias
Date: Mon Feb 16 08:36:13 2009
New Revision: 744862

URL: http://svn.apache.org/viewvc?rev=744862&view=rev
Log:
Bugfix for replicator stylesheet: Only IDs in the FO namespace shall be 
adjusted. Adjusting also SVG IDs can result in errors.

Modified:
    xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/xsl/fo-replicator.xsl

Modified: 
xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/xsl/fo-replicator.xsl
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/xsl/fo-replicator.xsl?rev=744862&r1=744861&r2=744862&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/xsl/fo-replicator.xsl 
(original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/xsl/fo-replicator.xsl 
Mon Feb 16 08:36:13 2009
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to