Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Javascript XML parser

I’ve added Dave Lindquist’s Javascript XML parser to my blog entry form using the code he posted in the discussion on webgraphics. It works an absolute treat—it even pops up an alert message telling me what is wrong with the post (usually ’End tag does not match opening tag’) and won’t let me submit the form until I have fixed the error. The actual XML parsing library is a truly impressive piece of work, despite the lack of documentation. Dave suggests that it is pretty much obsolete now that most modern browsers have a built in XML parser accessible through scripting, but his parser is easily fast enough for my purposes.

This is Javascript XML parser by Simon Willison, posted on 7th November 2002.

View blog reactions

Next: Web services in action

Previous: Validating weblog entries

5 comments

  1. Estaba bueno

    ELias - 15th October 2003 15:43 - #

  2. gghfghgfjg gfgh

    sdfsd - 17th October 2003 11:52 - #

  3. diche: eche fistro de la pradera sesual era un torpedo pecador no puedo, no puedo... che da usté cuen?

    jose maria aznar - 24th December 2003 16:23 - #

  4. caticonacaticona

    LORD - 14th January 2004 02:44 - #

  5. The Javascript XML parser link is now obsolete and leads to a spampark.

    JayBee - 2nd October 2006 16:00 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2002/11/07/javascriptXmlParser

A django site