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 what is parser in xml 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 "what is parser in xml" Watch "what is parser in xml" New topic
Author

what is parser in xml

Jason sigel
Ranch Hand

Joined: Oct 07, 2003
Posts: 30
I want to know what is parser in Xml ?.Is it remove tags from a html file as we use stringtokenizer to remove . / from urls.
I only know that we can make our own tags and can define thier properties/data types .
How I should relate basic xml with java.
Is java and xml by brett mclaughlin is for beginners ?

jaideep
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
An XML parser is a piece of software which helps your program to understand XML. The parser reads the text form of an XML document into some internal form, directly accessible by your Java code. For more details about the types of parsers, see the following post: http://www.javaranch.com/ubb/Forum31/HTML/000077.html
I know that "Java and XML" by Brett McLaughlin has received some good reviews, although I haven't read it myself. I think it should be helpful if you are a beginner at XML, but does require some Java knowledge.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Amala Amperayani
Greenhorn

Joined: Sep 27, 2000
Posts: 6
There are two types of documents in XML.
1. well-formed (follows specific set of rules)
2. valid(if the document matches the constraints listed in DTD)
NOW.....
An XML parser reads the document and verifies that it is well formed. It also converts the document into a tree of elements.
Hope this helps....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is parser in xml