C
Cylix
I have read a number of article about the responseXML,
all articles just mention one row XML, I mean
<book>
<name>The Sea</name>
<authur>Jogn</authur>
</book>
javascript:
xmlHttp.responseXML.documentElement.getElementsByTagName("name").childNodes[0].nodeValue
But no one talk about XML like the following:
<book>
<name>The Sea</name>
<authur>Jogn</authur>
</book>
<book>
<name>The Sea2</name>
<authur>Jogn</authur>
</book>
How to handle in javascript for the 2nd XML?
Thanks!
all articles just mention one row XML, I mean
<book>
<name>The Sea</name>
<authur>Jogn</authur>
</book>
javascript:
xmlHttp.responseXML.documentElement.getElementsByTagName("name").childNodes[0].nodeValue
But no one talk about XML like the following:
<book>
<name>The Sea</name>
<authur>Jogn</authur>
</book>
<book>
<name>The Sea2</name>
<authur>Jogn</authur>
</book>
How to handle in javascript for the 2nd XML?
Thanks!