(And yet I don't see it clearly in the FAQ)
So, I've been handed
<xsl:for-each select="//item[(_at_)group != 0]">
The structure cries out for a key, and conveniently I already have
established <xsl:key name="ItemByGrp" match="item" use="@group" />
Now, if I wanted the <item>s with @group='0', I'd use the function
key('ItemByGrp', 0). No fuss.
How do I opposite? *Can* I do the opposite, or am I better off leaving
it alone? Should I create a more refined key definition thus?
<xsl:key name="GroupedItems" match="item[(_at_)group !=0]" use="@group" />
Curiosity abounds!
Bob Portnell
simply(_dot_)bobp(_at_)gmail(_dot_)com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--