My xml looks something like this:
Code:
<Staff>
<Row alphakey="doejohn" building="abc" class="Algebra" />
<Row alphakey="doejohn" building="abc" class="Geometry" />
<Row alphakey="personbob" building="abc" class="Calculus" />
<Row alphakey="personbob" building="abc" class="Precalc" />
...
</Staff>
And basically I need it to output like this:
Code:
Alphakey Classes
doejohn Algebra, Geometry
personbob Calculus, Precalc
I've searched for how to do this with a merge, but I can't quite figure it out, and most examples look different from what I am trying to do. Can someone help me with this? Again, xslt 1.0
EDIT: I fixed the code a little, I pasted it twice.