RE: [xsl] Is this a valid expression?

Subject: RE: [xsl] Is this a valid expression?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 18 Sep 2001 17:45:33 +0100
> Saxon barfs at my script on this line with the error message
>
> Error on line xxx of (my XSL file):
>   Error in expression /export//*[(not(parent::Zubehoer)) AND
> (not(parent::Ersatzteile))]/Produktobjekt: expected "]",
> found "<function>"
>

The "and" operator must be written in lower-case. Saxon hasn't recognized
AND as an operator, so as it is followed by "(" it is looking for a function
called AND().

Mike Kay


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


Current Thread