xsl-list
[Top] [All Lists]

XML grouping by attribute using Muenchian method?

2003-11-26 02:10:36
Hi

This is my XML

<bookshelf>
  <book type="myshelf" title="some book" /> 
  <book type="yourshelf" title="some other book" /> 
  <book type="myshelf" title="yet some other book" /> 
</bookshelf>

I want to group these books by attribute "type" e.g. looking like this

myshelf
        some book
        yet some other book
yourshelf
        some other book

I've been messing around with keys but I can't get the desired result...

Thanks
Nicolas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>