Re: Merging data based on attributes
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"/>
We recreate the <text> child here...
... including all its attributes ...
And here's where I get lost, and it's the critical part.
How far wrong am I in parsing this?
And thanks again, David. The assist is much appreciated.
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