I wish I was clever and did some research first. I found the answer in the list 
archives:

I should have done:

code ---
Map map = new HashMap();
map.put("result", "http://www.w3.org/2001/sw/DataAccess/rf1/result";);
                
XPath xpath = DocumentHelper.createXPath("//result:k0");
xpath.setNamespaceContext(new SimpleNamespaceContext(map));
                
Node sizeNode = xpath.selectSingleNode(sizeDoc);
--- code

As suggested by Edwin. Thanks anyways,
m

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to