[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XPath problem

Subject: RE: XPath problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 27 Jan 2005 08:53:36 -0000
RE:  XPath problem
> The second problem is that it does not like:
> 
> xqx:opType = '&lt;='
> 
> Is there a problem with this?  The element text
> contains the string "&lt;=".  But the match does not
> work.
> 

&lt; 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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.