I'd like to match the (element that have (children and the (attribute
this="true"))) or the parent of the (element (having the attribute
this="true") (that does not have children)).
Assuming I've parsed your English correctly,
match="*[*][(_at_)this="true"] | *[*[not(*)][(_at_)this="true"]]"
Michael Kay
http://www.saxonica.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>
--~--