dont make this harder than it is..
<xsl:variable name="someName" select="book/@type = 'myshelf'"/>
this would return the boolean value true or false depending on whether
there was an attribute of that form. It's not clear how it would help
the stated grouping problem though.
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list