I don't think this is the best solution, are you sure you want to turn
off namespace-aware parsing?
It would have been a lot easier to define a prefix namespace
mapping like below.
HashMap map = new HashMap();
map.put( "sws", "http://scheduall.com/webservices/;);
XPath xpath = DocumentHelper.c
Thanks Edwin for pointing me to the right direction. After searching other
messages (epecially the one from Barbara Warwood), I was able to resolve the
problem.
Here it is:
javax.xml.parsers.DocumentBuilderFactory dbf
= javax.xml.parsers.DocumentB
You are searching for elements that are not in a namespace and your
elements are defined in the 'http://scheduall.com/webservices/' default
namespace.
Please see previous postings about how to handle elements
in default namespaces correctly.
Regards,
Edwin
http://www.edankert.com/
-