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: Is this a valid expression?


> 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


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