There is another solution, but you will require to limit your end-users with
msie5.0 and higher (microsoft) browser.
This browser includes built-in support for XML ActiveX object and this ActiveX allows to create XMLHTTPRequest object. You can write script:
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.open("GET", "
http://anyhost/sample.fwx?parameters", false);
xmlhttp.send();
xmlobj = new ActiveXObject("Msxml2.XMLDocument");
xmlobj.loadXML(xmlhttp.responseXML.xml)
Alternatively you can use XML islands (you need only to change src attribute of tag <xml> to get new value)
Be sure that foxweb program must return "text/xml" instead of "text/html" content type.
Then you can freely use methods of XML object to build HTML code of your lookup from resulting data.