hi, all.
I found a problem when i used following code:
///////////////////////////////////////////////////
org.jaxen.dom.DOMXPath thePath= new
DOMXPath(theCursor);
org.w3c.dom.Node thePointNode=(org.w3c.dom.Node)thePath.selectSingleNode(theContentDocument.getDocumentElement()); thePointNode.setNodeValue(domainValue); ////////////////////////////////////////////////////////////
I got a cast exception, so my question is:
how can i modify a node value use xpath? or I must do the task
by myself?
thanks in advance?
kevin dong
|
- Fw: [Jaxen] how can i get a dom node form a xpath? kevin dong
- Fw: [Jaxen] how can i get a dom node form a xpath? kevin dong
- Re: [Jaxen] how can i get a dom node form a xpath? David Peterson