[Greasemonkey] Accessing XML document tree using GM_xmlhttpRequest

David A. daltenho at yahoo.com
Sun Feb 12 09:59:05 EST 2006


Hello all,

I'm a relative GM newbie and am trying to find coding
instructions for accessing the XML document tree
through GM_xmlhttpRequest. Here's what I want to do:

After doing a Google search, I want to send the query
to another search engine. This other search engine
returns a XHTML doc with the information I need stored
in elements and attribues that are named "title1,
title2..." (These names are given to a link <a
href...> element)

I then want to extract said attributes/elements and
use them to construct links in the Google search page.

I haven't found any clear documentation on accessing
the DOM of XML documents, however, so I can't get what
I need. Could anyone point me to instructions or
provide code samples that might work.

Gracias!

David

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Greasemonkey mailing list