• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parsing xml file

 
Ajay Singh
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • 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
 
Sandeep Murthy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic