|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Merging data based on attributes
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








