Does anyone know if it is possible to return values from an OnXMLReply (after it has been parsed as I want it to be?? I can't seem to figure it out.

I want to do something like

sReturnValueFromXML = PostXML (); // this is ideally return sValue
// from onPostReply

function PostXML () {

PostXMLReplyXML = new XML();
PostXMLReplyXML.onLoad = onPostReply;
PostXMLReplyXML.ignoreWhite = true;



function onPostReply(bSuccess) {

if (bSuccess == true) {

Parse XML Reply and return it as value to waiting functing

return sValue;


Thanks for any responses