File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Parsing xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Parsing xml file " Watch "Parsing xml file " New topic
Author

Parsing xml file

Ajay Singh
Ranch Hand

Joined: Jan 04, 2008
Posts: 105
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

Joined: Mar 22, 2000
Posts: 12769
    
    5
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

Joined: Oct 05, 2005
Posts: 34
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 ]

SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parsing xml file