This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: question about select
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] question about select
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 15 Feb 2001 10:21:27 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <xsl:for-each select="child::*[@field_name!='id' and
> @field_name!='smallName']">
>
> That the result excludes not only those elements with an
> attribute called "field_name" which is equal to "id" or
> "smallName", but also those elements which do not have an
> attribute "field_name" at all. Is this the same in all parsers?
Yes. If X is a node-set, X!=x is true if X contains a node that is not equal
to x. It doesn't mean the same as not(X=x).
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list