in a book i'm perusing at the moment, there's a discussion
of simple predicates that's a bit confusing, so i just wanted
to verify that the following two expressions were equivalent:
elt1[elt2/@attr="value"]
elt1[elt2[(_at_)attr="value"]]
They are indeed equivalent. But don't try to generalize this too far:
the following expressions are NOT equivalent:
elt1[elt2/@attr="value" and elt2/@attr2="value"]
elt1[elt2[(_at_)attr="value" and @attr2="value"]]
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list