• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic