Martin Gainty wrote:

var xmlhttp=dojo.hostenv.getXmlhttpObject()
var response= xmlhttp.responseXML;
var parsed_response=SomeXMLParser(response);
document.getElementByTagId("div").innerHtml = parsed_response;
-->
</script>

yes/no?
Martin

That would work, but dojo already includes code to invoke the right XML parser depending on the browser and includes code to strip the javascript out of the parsed response and execute it after updating the DOM. So it's best to reuse that code (which is behaviour of the widget) rather than rewrite an 80% complete solution.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to