Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selecting and outputing nodes/branches of an XML doc.

 
Ciaran McKenna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Im pretty new to XML and was just wondering what is the best way (s) to:
(1) Select a specific branch/node given a particular XML document and output it
(2) Verify that 2 branches from 2 xml documents have the same meaning.

Any examples of these would be great, im researching XML DOM and X Path stuff but sample code is always the best way for me to pick up on the new concepts.
I have to build these to functions into a HTML interface.
Any advice/examples/feedback would be much appreciated.
many thanks
Ciaran
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, this is where I look......
http://java.sun.com/webservices/docs/1.0/tutorial/index.html
There's good stuff, atleast I think, about DOM here.
- madhav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic