RE: xml parser

Ronald Bourret (rbourret@ito.tu-darmstadt.de)
Wed, 4 Nov 1998 12:09:08 +0100


Phani Adabala wrote:

> 1.To develop a search engine for xml documents, can we use the xml =
parser=20
> already developed by microsoft and others or do we need to build our =
own=20
> parser?

You definitely don't need to write your own parser -- there are plenty =
available, including Microsoft's. See, for example:

http://www.xmlsoftware.com/parsers/
http://www.oasis-open.org/cover/xml.html#xmlSoftware

It would also be a good idea to write your software in a =
parser-independent way, using SAX (http://www.megginson.com/SAX/) or DOM =
(http://www.w3.org/TR/REC-DOM-Level-1/). The former is an event-driven =
interface, the latter is a tree interface.

-- Ron Bourret