home *** CD-ROM | disk | FTP | other *** search
- if(true)
- {
- if(true)
- {
- §§push(false);
- }
- if(!§§pop())
- {
- if(true)
- {
- if(true)
- {
- addr29:
- §§push(false);
- }
- if(!§§pop())
- {
- if(!_global.it)
- {
- _global.it = new Object();
- }
- §§pop();
- if(!_global.it.sephiroth)
- {
- _global.it.sephiroth = new Object();
- }
- §§pop();
- if(!_global.it.sephiroth.XML2Object)
- {
- var _loc2_ = it.sephiroth.XML2Object = function()
- {
- }.prototype;
- _loc2_.__get__xml = function()
- {
- return this.oXML;
- };
- _loc2_.parseXML = function(sFile)
- {
- this.oResult = new Object();
- this.oXML = sFile;
- this.oResult = this.translateXML();
- return this.oResult;
- };
- _loc2_.translateXML = function(from, path, name, position)
- {
- var _loc2_ = undefined;
- var _loc9_ = undefined;
- var _loc4_ = undefined;
- var _loc10_ = undefined;
- if(path == undefined)
- {
- path = this;
- name = "oResult";
- }
- path = path[name];
- if(from == undefined)
- {
- from = new XML(this.xml.toString());
- from.ignoreWhite = true;
- }
- if(from.hasChildNodes())
- {
- _loc9_ = from.childNodes;
- if(position != undefined)
- {
- _loc10_ = path;
- path = path[position];
- }
- while(_loc9_.length > 0)
- {
- _loc4_ = _loc9_.shift();
- _loc2_ = _loc4_.nodeName;
- if(_loc2_ != undefined)
- {
- var _loc5_ = new Object();
- _loc5_.attributes = _loc4_.attributes;
- _loc5_.data = _loc4_.firstChild.nodeValue;
- if(position != undefined)
- {
- _loc10_ = path;
- }
- if(path[_loc2_] != undefined)
- {
- if(path[_loc2_].__proto__ == Array.prototype)
- {
- path[_loc2_].push(_loc5_);
- name = _loc4_.nodeName;
- position = path[_loc2_].length - 1;
- }
- else
- {
- var _loc8_ = path[_loc2_];
- path[_loc2_] = new Array();
- path[_loc2_].push(_loc8_);
- path[_loc2_].push(_loc5_);
- name = _loc2_;
- position = path[_loc2_].length - 1;
- }
- }
- else
- {
- path[_loc2_] = _loc5_;
- name = _loc2_;
- position = undefined;
- }
- }
- if(_loc4_.hasChildNodes())
- {
- this.translateXML(_loc4_,path,name,position);
- }
- }
- }
- return this.oResult;
- };
- _loc2_.oResult = new Object();
- §§push(_loc2_.addProperty("xml",_loc2_.__get__xml,function()
- {
- }
- ));
- §§push(ASSetPropFlags(it.sephiroth.XML2Object.prototype,null,1));
- }
- §§pop();
- §§goto(addr326);
- }
- else
- {
- addr326:
- §§push(ord(function §\x1b{invalid_utf8=153}\x02§(§{invalid_utf8=136}\x07§, §\x01§, §\x02\x01§, §\x01§, §{invalid_utf8=142}{invalid_utf8=255}\b\x01{invalid_utf8=136}\x02\x01\x1d§, _global, it, Object, sephiroth, XML2Object, prototype, __get__xml, oXML, parseXML)
- {
- }));
- }
- }
- §§goto(addr326);
- }
- §§goto(addr29);
- }
- §§goto(addr326);
-