|
<? xml version = "1.0"?>
<data>
<item>
<a> a </a>
<b> b </ b>
</ item>
<item>
<c> c </ c>
<d> c </ d>
</ item>
</ data>
For example, in an XML document like the above, I want to use JavaScript DOM to get the values of the child nodes a, b, c, and d under the <item> node. What should I do? |
|