rem: debug.print("QueryHistory.toXml: " + xml); 
context:     this.toXml = function() {        var parentName = "query-history";        var queryName = "query";        var xml = "<" + parentName + ">\n";        // values() yields an unstable order,        // so we use listNode.childNodes instead.        var nodes = $A(this.listNode.childNodes);        var query = null;        for (var i = 0; i < nodes.length; i++) {            query = this.getListItemValue(nodes[i]);            if (null != query && "" != query) {                // I'm tempted to wrap each query in a CDATA,                // but the query might use CDATA sections too.                xml += "<" + queryName + ">"                    + escapeXml(query)                    + "</" + queryName + ">\n";            }        }        xml += "</" + parentName + ">\n";        debug.print("QueryHistory.toXml: " + xml);        return xml;    }
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/query.js/clean/query.js