context: proto.build = function(parent, node) {				if (parent instanceof QxApplication) {			parent = parent.getClientWindow().getDocument();		};		// support embedding of an XML string within a textarea		if (typeof node == "object" && node.nodeName == 'TEXTAREA') {			node = node.value;		};		// parse strings in to XML DOM		if (typeof node == "string") {			// TODO: support MSXML parser			if (new QxClient().isMshtml()) {				var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");				xmlDoc.async=false;				xmlDoc.loadXML(node);				node = xmlDoc.documentElement;				if (xmlDoc.parseError.errorCode != 0) {				   throw new Error("error parsing xml " + xmlDoc.parseError + "\nLine:" + xmlDoc.parseError.line + ' : ' + xmlDoc.parseError.srcText);				};			}			else {				var parser = new DOMParser();				node = parser.parseFromString(node, "text/xml").documentElement;				// TODO handle parse errors			};					};		this._buildNodes(parent, node.childNodes);		};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/917d969301f80998e6ec94b4f504c3cbada764a6/QxBuilder.js/clean/qooxdoo/source/script/core/QxBuilder.js