My xml looks something like this:
<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:
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?