// Parse document and load\r
node.setName(this._xmlDoc.documentElement.nodeName);\r
var properties = this.getSettings(); \r
- // STUB : prune sub children, load only level 1\r
- var children = this._xmlDoc.documentElement.childNodes;\r
- for(var i=0;i<children.length;i++){\r
- var subchildren = children[i].childNodes;\r
- for(var j=0;j<subchildren.length;j++){\r
- children[i].removeChild(subchildren[j]);\r
- }\r
- }\r
- // END STUB\r
node.fromDomElement(this._xmlDoc.documentElement);\r
node.setLoadState("loaded");\r
if(properties.dynamic){\r
var request = new org.argeo.ria.remote.Request(properties.xmlSrc, 'GET', 'application/xml');\r
if(properties.dynamic && properties.pathParameter){\r
request.setParameter(properties.pathParameter, (node.getPath()|| "/"));\r
+ request.setParameter("depth", 1);\r
}\r
request.addListener("completed", function(response){\r
this._xmlDoc = response.getContent();\r