RE: [xsl] question about select

Subject: RE: [xsl] question about select
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 10:21:27 -0000
> <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


Current Thread