DOM accessing element JS
- by Michael
Given the following xml
<rss>
<channel>
...
<pubDate>20/30/2099</pubDate>
...
<item>
...
<pubDate>10/30/2099</pubDate>
...
</item>
...
<item>
...
<pubDate>40/30/2099</pubDate>
...
</item>
...
<channel>
</rss>
how would I efficiently access pudDate in channel and items as array, as well as pudDate in that array.