• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Sample Code For DOM

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
All of the following truths are shameless lies. But what about this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic