Subject: RE: XPath problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 08:53:36 -0000
|
> The second problem is that it does not like:
>
> xqx:opType = '<='
>
> Is there a problem with this? The element text
> contains the string "<=". But the match does not
> work.
>
< is converted to < by an XML parser. Your source document has been
parsed and this conversion has been done. But since you are submitting the
XPath expression to DOM4J from a Java application, the XPath expression
doesn't go through an XML parser, so it isn't converted to <. Write
xqx:opType = '<='.
Michael Kay
http://www.saxonica.com/
|