ocheneson
October 19th, 2004, 04:02 AM
Hi,
here is my code :
var XMLDoc = new ActiveXObject("MSXML2.DOMDocument.4.0");
var SSUNet = new ActiveXObject("SSUNet.SSU");
XMLDoc = SSUNet.GetTableList(Request.Cookies("user")("groupname"));
var dataNodeList = XMLDoc.getElementsByTagName("z:row");
Response.write (dataNodeList.length);
for (i = 0;i<dataNodeList.length;i++){
Response.write (dataNodeList.item(i).attributes(1).text);
}
I should have 3 items for z:row but it returns only 0
when i try with the other item of the xml doc , it works like s:datatype
Is there something wrong with my code ?
Thanks
Olivier
here is my code :
var XMLDoc = new ActiveXObject("MSXML2.DOMDocument.4.0");
var SSUNet = new ActiveXObject("SSUNet.SSU");
XMLDoc = SSUNet.GetTableList(Request.Cookies("user")("groupname"));
var dataNodeList = XMLDoc.getElementsByTagName("z:row");
Response.write (dataNodeList.length);
for (i = 0;i<dataNodeList.length;i++){
Response.write (dataNodeList.item(i).attributes(1).text);
}
I should have 3 items for z:row but it returns only 0
when i try with the other item of the xml doc , it works like s:datatype
Is there something wrong with my code ?
Thanks
Olivier