• 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

XML parsing using Xerses SAX parse sample code snippet

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to XML parsing & i would like to have a sample code snippet to read a xml file , parse it using Xerces SAX parser.

I tried to have a look at the apache site but in vain....

Any help is appreciated.
 
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

Originally posted by Ashish P:
I tried to have a look at the apache site but in vain....

Any help is appreciated.



Check this FAQ=> http://faq.javaranch.com/view?XmlFaq
Also IBM developer works website got some good tutorial, http://www.ibm.com/developer/xml
 
Ashish Patel
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
THanks for the reply.

But can i get a sample snippet of the code somewhere.
 
Balaji Loganathan
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 the tutorial section of IBM XML page or try this link IBM tutorial on understanding SAX
[ September 16, 2004: Message edited by: Balaji Loganathan ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic