i'm sure there's an easy way to do this, but i'm just not
seeing it in the sources i'm reading.
i want to create a node-set of attribute nodes with a given
name and specific value. note that i don't want the node set
of nodes *with* such attributes -- i want the attribute nodes
themselves (and no, i can't think of a practical reason for
this at the moment -- i'm just playing).
eg., if i wanted all attribute nodes with name "key", that's
just
//@key
but what if i want attr nodes where key is specifically equal
to "F"? i'm assuming that requires a predicate, but i've tested
several variations and none work. how do i ask if the string-value
is equal to "F"?
//@key["F"] doesn't work
what do i use here as the predicate? i'm sure i'll be embarrassed
once it's pointed out to me.
rday
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list