DOM accessing element JS

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-05-02T07:25:54Z Indexed on 2010/05/02 7:37 UTC
Read the original article Hit count: 196

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about firefox

Related posts about dom