I found a link to my thingy on actionscript.org.. its the second one of the two that are there.
If you've got any probs with it just let me know. its not perfect and there are prolly better things out there but anyhew.
On the send and load note, it looks like sendAndLoad will send XML to a script or cgi program on the server which can then reply in xml back to flash. You could write an xml document containing an xpath expression to execute and send that to a script on the server which then returns the xml produced from the XPath statement... but its a bit of a round trip for small documents and you've still got the problem of extracting the XML from the returned document with the fiddly Flash XML Object...
For example I suppose (and i'm only guessing here) that you could construct an XML document to do the query:
<xpath-query document='mydoc.xml'>
//node[nodeatt='hello']/*
</xpath-query>
which you could send to a script on the server which takes this query and performs it on the specified document. Then the script could return something like this:
<xpath-result>
<node nodeatt='hello'>my contents 1</node>
<node nodeatt='hello'>my contents 2</node>
<node nodeatt='hello'>...</node>
<node nodeatt='hello'>my contents x</node>
</xpath-result>
which is then (by the magic of sendAndLoad) put into the XML object by flash.
This is an interesting concept which never crossed my mind before... let me know how you get on developing it
Matt Corby.