I am sorry for sending this message again,
and could someone give me a advice or a
direction?
so I will avoid doing some work what is not
required.
thanks
Kevin
----- Original Message -----
From: kevin dong
Sent: Monday, June 02, 2003 9:16 AM
Subject: [Jaxen] how can i get a dom node form a xpath? 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
|
- [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? kevin dong
- Re: [Jaxen] how can i get a dom node form a xpath? David Peterson