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: RE:what about [@this and @that] vs [@this][@that]?


> In my simple usage, these predicates seem to work exactly the
> same way.  Is
> there a subtle difference I should be aware of between using:
>
> select="item[@foo='bar' and @bar='foo']"
>
> as opposed to:
>
> select="item[@foo='bar'][@bar='foo']"
>
They are identical provided neither of the predicates is positional: a
predicate is positional if it is numeric, or if it calls the position() or
last() functions.

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]