[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Easy Key-grammar Question
(And yet I don't see it clearly in the FAQ)
So, I've been handed <xsl:for-each select="//item[@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[@group !=0]" use="@group" /> Curiosity abounds! Bob Portnell simply.bobp@xxxxxxxxx
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|