XPath tool is confused with namespaces
Submitted by Tuesday, 20 May, 2008 - 07:04
on
Hi
Is there a trivial solution for the XPath tool to recoginze and operate correctly with namespaces?
For example, I have a XML document(WSDL file, I omit all the namespace declarations for better reading):
Heiko
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions ... > <wsdl:types> <xsd:schema ... > ... </xsd:schema> <wsdl:types> </wsdl:definitions>If I try to execute XPath expression
//types
or //wsdl:types
then an empty resutl is returned?
As much as I know of XPath (and also experience from othe XML editors) there should be a single node as result.
Is it just the the plugin is not usable or am I missing some other plugins or some knowhow (how to use jEdit).
Thanks for input,Heiko