Originariamente inviato da whisher
Ciao.
Si ottiene un parse error su
content:encoded.
Se ti interessava accedere ad un file xml
un metodo può essere questo:
Codice PHP:
var rootElementreq.responseXML.documentElement;
    var 
itemsrootElement.getElementsByTagName('item');
    for( var 
0items.lengthi++ ) {
        var 
itemitems.item(i).childNodes;
            for(var 
j0item.lengthj++){
            if(
item.item(j).nodeType==1){
                
alert(item.item(j).firstChild.nodeValue);
            }
            }
        } 
    } 
file xml di prova:
Codice PHP:
<?xml version="1.0" encoding="UTF-8"?>
<items>
<item>
<title>titolo</title>
<link>[url]http://[/url]</link>
<content><![CDATA[

[url="http://www.google.it/"]bla bla 1[/url]</p>]]></content>
<description>Dura..1</description>
</item>
<item>
<title>titolo</title>
<link>[url]http://[/url]</link>
<content><![CDATA[

[url="http://www.google.it/"]bla bla 2[/url]</p>]]></content>
<description>Dura..2</description>
</item>
</items>

e se ho per forza sto <content:encoded> ??