|
-
October 19th, 2004, 04:02 AM
#1
XML Recordset getElementsByTagName("z:row")
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 atatype
Is there something wrong with my code ?
Thanks
Olivier
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|