RE: [xsl] RE:what about [@this and @that] vs [@this][@that]?

Subject: RE: [xsl] RE:what about [@this and @that] vs [@this][@that]?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 6 Sep 2001 15:54:18 +0100
> 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


Current Thread