[thelist] Basic XSLT problem
Nick Lester
nick at flowbike.com
Mon Jan 12 04:39:03 CST 2004
Hi all,
I have a basic (I hope) XSLT problem.
I have some XML that looks like this:
Here is the source XML:
<data>
<record title="Mr" Forename="Nick" Surname="Lester" />
<record title="Mr" Forename="Joe" Surname="Bloggs" />
</data>
The record node may have many different attributes so I dont want to
define these in the stylesheet. There may also be an undetermined number
of record nodes
I need some kind of translation to make it look like this:
<data>
<record title="Mr">
<Forename>Nick</Forename>
<Surname>Lester</Surname>
</record>
<record title="Mr">
<Forename>Joe</Forename>
<Surname>Bloggs</Surname>
</record>
</data>
Any help would be very much appreciated!
Thanks
More information about the thelist
mailing list