[Greasemonkey] Looking for example code that uses new E4X facilities to parse some XML...

Jeff Barr jeff at vertexdev.com
Thu Dec 22 14:08:22 EST 2005


I'm trying to upgrade my find_feeds.user.js script to work with Firefox 
1.5 and I'm
having a really hard time getting the XML parsing to work. I've switched 
the code
over to the "new XML()" model, and I can load the XML just fine. I just 
can't
seem to access the child elements of the data.

I realize that I could use the whole "unsafe window" thing, but I would 
prefer to
do this processing in the most official, most reliable way possible.

If anyone can point me to an example of some code that calls a web 
service and
parses the returned XML, that would be most excellent.

Thanks in Advance,

Jeff;

-- 
* RSS Feeds:       http://www.syndic8.com                    
* Blog:            http://www.syndic8.com/~jeff/blog/
* Web Services:    http://aws.typepad.com
* Resume:          http://www.syndic8.com/~jeff/resume.html




More information about the Greasemonkey mailing list