); //window.onerror=resetError; showRetrieveMap();
var theText = writeXML();
if (debugOn==2) alert(msgList[12] + theText); //alert(theText); //hasTOC=false; sendToServer(imsURL,theText,1); } /***************************************************** *function writeXML()
接收response
processXML(theReplyIn)
Arguments: theReplyIn--String containing returned ArcXML response.
Returned Value: None
Description: Passes the ArcXML response to the appropriate function for processing. The key global is XMLMode,which determines which function to call,即设定XMLMode就可以决定processXML(theReplyIn)调用哪个分析response XML的函数。
Calls: appropriate function to parse ArcXML response.
Called by: passXML in dynamic connector-created page in PostFrame on loading.
File: aimsXML.js
全局变量XMLMode的值<1000,由processXML(theReplyIn)调用其默认函数,>1000即用户自定义时,processXML(theReplyIn)调用useCustomFunction()函数。全局变量XMLMode在aimsXML.js中定义(见Customizing ArcIMS: HTML Viewer第308<315>页)。
useCustomFunction(theReply)
Arguments: theReply String containing returned ArcXML response.
Returned Value: None
Description: Available for custom processing of returned ArcXML responses. The function processXML will call this function if the value of the global XMLMode is 1,000 or greater.
Uses: XMLMode.
Calls: hideLayer in aimsDHTML.js.
Called by: processXML in aimsXML.js.
File: aimsCustom.js
上一页 [1] [2] |