Darya Said-Akbari <[EMAIL PROTECTED]> writes:
> As you mentioned, I also want to maintain the
> attributes in infile.svg. However here you can see
> that this is not the case.
>
> Do you have an idea?
Ah, er, yes. My mistake:
<xsl:template match="svg:text[.='anchorA']">
<svg:text>
<xsl:copy-of select="@*"/>
<xsl:value-of
select="document('text.xml')/texts/txt[@id='anchorA']"/></svg:text>
</xsl:template>
</xsl:stylesheet>
Attributes should be created after an element.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]