• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manipulate DOM using XPath

 
aswin pal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Newbie help..

I was searching for an example that shows this:

1. Use a Document object.

2. Use XPath to select a node (element or attribute) from the Document object.

3. Change its value - basically update DOM.

any links?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XPath will let you locate DOM Nodes, but changing the content is up to the programmer.

What do you have so far?

Bill
 
aswin pal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Understood. Thanks. We located the node using XPath, and changed the required content programatically.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic