用来查询queryByAttribute function返回的xml的栏位的值
function queryByAttributeFieldValue(resultXml,fieldName)
{
var oXmlDoc = new ActiveXObject("Microsoft.XMLDOM");
oXmlDoc.async = false;
// Load the document that has the results.
oXmlDoc.loadXML(resultXml.xml);
var fieldElement=oXmlDoc.selectSingleNode("//q1:"+fieldName);
return (fieldElement== null)? " " :fieldElement.text
}
{
var oXmlDoc = new ActiveXObject("Microsoft.XMLDOM");
oXmlDoc.async = false;
// Load the document that has the results.
oXmlDoc.loadXML(resultXml.xml);
var fieldElement=oXmlDoc.selectSingleNode("//q1:"+fieldName);
return (fieldElement== null)? " " :fieldElement.text
}