este es el xml del blog
Código :
<?xml version="1.0" encoding="UTF-8" ?> - <!-- generator="wordpress/2.0.6" --> - <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> <title>TITULO</title> <link>http://www.blog.com</link> <description>Just another WordPress weblog</description> <pubDate>Fri, 18 May 2007 14:00:09 +0000</pubDate> <generator>http://wordpress.org/?v=2.0.6</generator> <language>en</language> - <item> <title>titulo</title> <link>http://www.blog.com/?p=197</link> <comments>http://www.blog.com/?p=197#comments</comments> <pubDate>Fri, 18 May 2007 14:00:09 +0000</pubDate> <dc:creator>Admin</dc:creator> <category>Noticias</category> <category>Actualidad</category> <guid isPermaLink="false">http://www.cadieel.org.ar/blog/?p=197</guid> <description>Descripcion</description> </item> </channel> </rss>
Digamos que con el siguiente codigo
Código :
titulo_txt.text = obj_xml.firstChild.firstChild.childNodes[0].firstChild.nodeValue;
Llego a el nodo channel, pero este no es el que me interesa, me gustaria llegar a el nodo item, donde esta el contenido de los post, he provado sumando un "firstChild.", pero no he conseguido nada.
Bueno, si pueden darme un mano estaria babaro.
Saludos.