Subject: [xsl] Tyro grouping and nesting problem From: Jon Crump <jjcrump@xxxxxxxxxxxxxxxx> Date: Fri, 11 Feb 2005 10:46:37 -0800 (PST) |
Starting with an xml file like this: <body> <item> <date>today</date> <name>James</name> <place>market</place> </item> <item> <date>today</date> <name>Joe</name> <place>work</place> </item> <item> <date>today</date> <name>Joe</name> <place>school</place> </item> <item> <date>tomorrow</date> <name>Jean</name> <place>home</place> </item> <item> <date>thenextday</date> <name>Jon</name> <place>work</place> </item> </body>
This is the result I want to get: <body> <today> <item> <date>today</date> <name>James</name> <place>market</place> </item> <item> <date>today</date> <name>Joe</name> <place>work</place> </item> <item> <date>today</date> <name>Joe</name> <place>school</place> </item> </today> <tomorrow> <item> <date>tomorrow</date> <name>Jean</name> <place>home</place> </item> </tomorrow> <thenextday> <item> <date>thenextday</date> <name>Jon</name> <place>work</place> </item> </thenextday> </body>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Node Position & Relations, António Mota | Thread | Re: [xsl] Tyro grouping and nesting, Joris Gillis |
Re: [xsl] Node Position & Relations, António Mota | Date | Re: [xsl] Tyro grouping and nesting, Joris Gillis |
Month |