Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample Code For DOM

 
Raghuraman Muthuswamy
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I just need a simple DOM Parser Code just to kick start my understanding of DOM Parsing using Java. Your help is very much appreciated.

Thanks in advance,
Raghu
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go to IBM developers website, then click XML, then xml tutorials or articles, there you will find bunches of article/tutorials on xml, dom, sax, xslt,fop,databinging etc., Try to find the tutorial "Understaning DOM" in it.
Regards
Balaji
 
Bajji Pat
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raghu,

Pls find the code below (just covering the basic requirements)


Hope this is useful.

Regards
Bajji Pat

Edit Comment:
Added the [ code ] and [ / code ] tags without he spaces.

- m
[ April 12, 2005: Message edited by: Madhav Lakkapragada ]
 
Raghuraman Muthuswamy
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Balaji and Bajji,
Thanks for your reply. Both of your replies are useful to me. Can you explain me about Namespaces in XML its a bit confusing to me. If you explain me about namespace in simple terms it will be useful.

With regards,
Raghu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic