File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manipulate DOM using XPath

 
aswin pal
Greenhorn
Posts: 9
  • 0
  • 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: 13045
6
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic