[xsl] XSLT grouping(?) issue

Subject: [xsl] XSLT grouping(?) issue
From: Fredde Hedberg <syte_orion@xxxxxxxxx>
Date: Mon, 22 Dec 2008 01:20:26 -0800 (PST)

I'm fairly new to XSLT and transformations and now I've run in to a problem
that I see no solution to.
I have a horrible formed incoming XML with a structure looking something like
this (simplified):


Sadly, I can't do anything about the format of this XML.
What I need to do is to select all nodes between a <StartOrderGroup>-element
and a <EndOrderGroup>-element, so that I get an output like:

Car - 2
Car - 3
Bus - 4

Truck - 9

I've fiddled around with the following-sibling and following axes and I've
tried using key, but I haven't yet found a way to make it work. I haven't
found an appropriate issue in the FAQ's either.
Is my request at all possible? If so, how? Any help is warmly appreciated.



semester! - svk efter resor hos Kelkoo.
Jdmfvr pris pe flygbiljetter och
hotellrum hdr:

Current Thread