This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: question about select


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]