Hi!
After sending a request to a server via XMLHttpRequest and receiving a
response, I assign an incoming XML from a server via
[...]
var root = request.responseXML.documentElement;
[...]
to the variable root which I process further with root.nodeType,
root.nodeValue, etc...
In my example I have the following XML File:
<activities>
<day date="20061001">
<activity>I did this</activity>
<activity>I did that</activity)
</day>
<day date="20061002">
<activity>I was doing this</activity>
<activity>And this</activity>
<activity>And that</activity>
</day>
<day date="20061003">
<activity>and so on</activity>
</day>
</activities>
Now here is my question: How can I assign the big XML (root:
activities) into e.g. three smaller XML's (with the new root: day) to
an array?
Thanks,
Norbert