rem: fleegix.xml=new function(){ var _4b=this; this.parse=function(_4c,_4d){ var _4e=new Array; var _4f; var _50=[]; if(_4c.hasChildNodes()){ _4e=_4c.getElementsByTagName(_4d); _4f=_4e[0]; for(var j=0;j<_4e.length;j++){ _4f=_4e[j]; _50[j]=_4b.xmlElem2Obj(_4e[j]); 
add: _30[_31]=function(){ var _33=[]; for(var i=0;i<arguments.length;i++){ _33.push(arguments[i]); 
context: fleegix.xml=new function(){var _4b=this;this.parse=function(_4c,_4d){var _4e=new Array;var _4f;var _50=[];if(_4c.hasChildNodes()){_4e=_4c.getElementsByTagName(_4d);_4f=_4e[0];for(var j=0;j<_4e.length;j++){_4f=_4e[j];_50[j]=_4b.xmlElem2Obj(_4e[j]);}}return _50;};this.xmlElem2Obj=function(_52){var ret=new Object();_4b.setPropertiesRecursive(ret,_52);return ret;};this.setPropertiesRecursive=function(obj,_55){if(_55.childNodes.length>0){for(var i=0;i<_55.childNodes.length;i++){if(_55.childNodes[i].nodeType==1&&_55.childNodes[i].firstChild){if(_55.childNodes[i].childNodes.length==1){obj[_55.childNodes[i].tagName]=_55.childNodes[i].firstChild.nodeValue;}else{obj[_55.childNodes[i].tagName]=[];_4b.setPropertiesRecursive(obj[_55.childNodes[i].tagName],_55.childNodes[i]);}}}}};this.cleanXMLObjText=function(_57){var _58=_57;for(var _59 in _58){_58[_59]=cleanText(_58[_59]);}return _58;};this.cleanText=function(str){var ret=str;ret=ret.replace(/\n/g,"");ret=ret.replace(/\r/g,"");ret=ret.replace(/\'/g,"\\'");ret=ret.replace(/\[CDATA\[/g,"");ret=ret.replace(/\]]/g,"");return ret;};this.rendered2Source=function(str){var _5d=str;_5d=_5d.replace(/</g,"&lt;");_5d=_5d.replace(/>/g,"&gt;");return "<pre>"+_5d+"</pre>";};this.getXMLDocElem=function(_5e,_5f){var _60=[];var _61=null;if(document.all){var _62=document.getElementById(_5e).innerHTML;var _63=new ActiveXObject("Microsoft.XMLDOM");_63.loadXML(_62);_61=_63.documentElement;}else{_60=window.document.body.getElementsByTagName(_5f);_61=_60[0];}return _61;};};
meta: 10428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10428/f0576f65a7b0341560eac2493956030db69acdc9/fleegix.js/clean/fleegix.js