PDA

View Full Version : Parsing XML with Javascript (for Dashboard)?


staph
2005-12-27, 21:34
Hi guys,

does anyone know of any decent Javascript XML parsing libraries for Safari/Dashboard? I'm thinking of functionality similar to E4X, which (I'm pretty sure) Safari doesn't yet support.

I just want to make simple XPath queries to rip information out of an XML feed by element/attribute, nothing fancy.

-S

chucker
2005-12-27, 21:50
I haven't tested it, but decides its horrendous website (and name), XML for <SCRIPT> (http://xmljs.sourceforge.net/) looks promising.

staph
2005-12-27, 22:13
Indeed it does, with the optional XPath module. I'll see how I go.

Thanks.