function SOAPClientParameters() { var _pl = []; this.add = function(name, value) { _pl[name] = value; return this; } this.toXml = function() { var xml = ""; for(var p in _pl) { if(typeof(_pl[p]) != "function") xml += "<" + p + ">" + _pl[p].toString().replace(/&/g, "&").replace(/g, ">") + "; } return xml; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)