• 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

Parsing xml file

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I want to parse an xml file using just the inbuilt java parser and not using any api/library(like dom) ,is this possible.please reply

Regards
Ajay
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course it is possible, the standard java distribution is loaded with XML related classes, including parsers. Harold's XML book is all on line , there are plenty of web tutorials, and the JavaDocs will give you a good start.

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

I'm not very clear about what is meant by �inbuilt java parser�.

As far as I know, since 1.4, java has an inbuilt API called JAXP � Java API for XML processing.
JAXP contains DOM and SAX parsing interfaces.

So, as long as you are using DOM or SAX, you are effectively using inbuild Java API for parsing.
[ July 28, 2008: Message edited by: Sandeep Narasimhamurthy ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic