xsl-list
[Top] [All Lists]

RE: [xsl] Identifying sets of child elements that meet a certain condition

2008-02-11 08:42:13
In the following XML document, I'm trying to identify the 
component nodes that do not contain an attribute with the 
name "a." In the example, the only component that meets this 
criterion is "3."

/data/component[not(attribute/@name='a')]

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>
--~--