JavaScript XML Parser

Mike Dierken (mike@datachannel.com)
Wed, 31 Dec 1997 14:41:01 -0800


Jeremie,
Beautiful.

The only two suggestions I have are:
1 Create DOM methods on the JavaScript objects. This way authors can use =
any parser without changing their scripts.
2 Don't go overboard with DTD/parameter entities/etc. handling. Full =
blown parsers already exist, and they can be instantiated as an <OBJECT> =
and called from JavaScript. What is needed is a nice lightweight way to =
programmatically read simple XML.

If you want to really rock the world, do these two things:
1 Write an XSL processor in JavaScript.
2 Figure out how to read from multiple URLs from JavaScript, without =
blowing away the current page.

Mike D
DataChannel