On Tue, Aug 26, 2008 at 10:01 PM, martin <[EMAIL PROTECTED]> wrote:

> I am a total n00b on Greasemonkey and was just wondering how you would
> convert a XPathResult to string so it becomes searchable (indexOf or
> search)
>

See [1] for a complete description of the XPathResult interface, and [2] for
some example of usage.

In your case you want to use thisLink.stringValue.

[1] http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult
[2] http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to