Just a quick idea,<br><br>How about using JSON (<a href="http://www.json.org">www.json.org</a>) as to represent the query objects (instead of xml)?<br><br>It is light, easily readable, widespread, and there is possibility to write extremely fast parsers.
<br><br>Cheers,<br>Mikkel<br>