jagsmiles@gmail.com wrote:[color=blue]
> vifito wrote:
>[color=green]
>>
http://xmljs.sourceforge.net/
>>
>>XML for <SCRIPT> is a powerful, standards-compliant JavaScript XML
>>parser that is designed to help web application designers implement
>>cross platform applications that take advantage of client-side
>>manipulation of XML data.[/color]
>
>
> I downloaded the "xml for <script>" from the above url.[color=green]
>>From the documentation, i see there are 3 parsers included in it.[/color]
>
> 1.W3C DOM
> 2.Classic DOM
> 3.SAX
>
> do i need to include all the three js files for parsing the xml data.
>
> Or, are these 3 are independent of each other, i mean can i use only
> one any of these three. if this is the case, which one would be better
> one.
>[/color]
If the names accurately describe the components that all depends what
you have to do with the data.
DOM parsers will build a compete DOM of the document in memory, a SAX
parser will extract specific tags from the document for immediate
processing.
--
Ian Collins.