|
Subject: [xsl] XSLT 2.0 Multi-level grouping From: Robert Zegwaard <data@xxxxxxxxx> Date: Wed, 09 Jan 2008 15:17:16 +0100 |
Hi,
I'm in need for an multi-level grouping routine using XSLT 2.0
I can't figure out houw to do this.
Can anyone give me a good hint?
Robert Zegwaard
XML (INPUT)
---------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<Computers>
<Hardware>
<Hardisks>
<Product>
Seagate 200GB
</Product>
<Price>
129,-
</Price>
</Hardisks>
</Hardware>
<Hardware>
<Hardisks>
<Product>
Maxtor 160GB
</Product>
<Price>
109,-
</Price>
</Hardisks>
</Hardware>
...
<Software>
...
</Software>
...
</Computers>
---------------------------------------
Desired XML (OUTPUT)
---------------------------------------
<Computers>
<Hardware>
<Hardisks>
<Product>
Seagate 200GB
</Product>
<Price>
129,-
</Price>
<Product>
Maxtor 160GB
</Product>
<Price>
109,-
</Price>
</Hardisks>
<Monitors>
...
</Monitors>
...
</Hardware>
<Software>
<Office>
...
</Office>
...
</Software>
</Computers>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Filtering a node-set, David Carlisle | Thread | Re: [xsl] XSLT 2.0 Multi-level grou, Andrew Welch |
| Re: [xsl] Declaring more than one t, Dimitre Novatchev | Date | Re: [xsl] XSLT 2.0 Multi-level grou, Andrew Welch |
| Month |