RE: [xsl] xsl:if test... Doesn't like the "[" when namespace is changed <From Newbie>

Subject: RE: [xsl] xsl:if test... Doesn't like the "[" when namespace is changed <From Newbie>
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 21 May 2001 17:27:35 +0100
> But test=".[FieldNumber='26']" is also a valid XSLT test
> imho,

No it isn't. "." is an abbreviated step, and predicates can only appear as
part of a step, not following a step: if you look at the syntax rules
carefully you'll see that "." can't be followed by a predicate.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread