[Home] [By Thread] [By Date] [Recent Entries]
On 8/23/06, David Carlisle <davidc@xxxxxxxxx> wrote:
This seems to do what you need: It certainly does! Many thanks. Now bear with me while I try to understand it... The keys create tables linking the @ids to <element> and <phase>... <xsl:key name="element" match="element" use="../@id"/> <xsl:key name="phase" match="phase" use="../@id"/>
<xsl:template match="svg:text[.=('element','phase')]"> We recreate the <text> child here... <text> ... including all its attributes ... <xsl:copy-of select="@*"/> And here's where I get lost, and it's the critical part. <xsl:value-of select="key(.,../@id,doc('textsrc.xml'))"/>
How far wrong am I in parsing this? And thanks again, David. The assist is much appreciated. BobP simply.bobp@xxxxxxxxx
|

Cart



