|
Hi,
I use easypo sample to study how to use XPath to select XML according to the instruction in conSelectingXMLwithXQueryPathXPath.html.
The following codes works well: String xqNamespace = "declare namespace po='http://openuri.org/easypo';"; ... cursor.selectPath( xqNamespace + "$this//po:shipper");
But the following query failed: cursor.selectPath( xqNamespace + "$this//po:[EMAIL PROTECTED]'ss']"); It throws: java.lang.RuntimeException: Path too complex for xmlbeans: declare namespace po='http://openuri.org/easypo';$this//po:[EMAIL PROTECTED]'ss']
I do not know what is wrong with the above code. Thanks for your help.
Guofeng
|
- Help:RuntimeException:Path too complex for xmlbeans Guofeng Zhang
- RE: Help:RuntimeException:Path too complex for xml... Rajiv Balachandran

