Basically, I need each value in <headers> to become an element and then have a value from <values> assigned to it. There will always be as many <headers> values as there are <values> values. Association would be each <headers> column needs to be tied up with each <values> column in turn.
Hopefully this makes sense.
I have tried various solutions, but none of them have come close so far.
Subject:Updated: Transform values into elements and then assign values to new elements Author:Joshua Hunt Date:09 Jan 2008 12:53 AM Originally Posted: 08 Jan 2008 11:30 PM
I am closer to a solution, but need help on the home stretch. I am new to this stuff, so go easy on me. It seems that the following can be done with a two phase approach using temporary trees, but I am constrained to XSLT 1.0 and this is only available in 2.0. Any workarounds would be greatly appreciated. Prefereably one that doesn't require writing an XML doc to file.