El problema es que quiero mostrar los atributos "del hijo del hijo el cual tiene sus hijos tambien", creo que es asi
:Código HTML:
<pa> <hi1> <hh1 id="es"> <hhh1> ............................................ <hhh1> </hh1> <hh1 id="co"> <hhh1> ............................................ <hhh1> </hh1> </hi1> </pa>
El XML:
Código:
El HTML con el javascript<tiltviewergallery>
<photos>
<photo imageurl="img.jpg" linkurl="un_enlace">
<description>
<![CDATA[<font> info cualquiera </font>]]>
</description>
</photo>
</photos>
<photos>
<photo imageurl="img2.jpg" linkurl="un_enlace">
<description>
<![CDATA[<font> info cualquiera </font>]]>
</description>
</photo>
</photos>
</tiltviewergallery> Código HTML:
<script src="prototype.js"/></script> <script src="ObjTree.js"></script>
Código:
<script language="javascript">
function init(valorSelecto){
var galleryViewer= 'tiltviewer_soloTexto/'+valorSelecto+'/gallery.xml';
new Ajax.Request(galleryViewer, { onSuccess:hecho, onFailure:errFunc});
}
function errFunc(){}
function hecho(t){
var xotree = new XML.ObjTree();
tree = xotree.parseXML( t.responseText );
var projects=tree["tiltviewergallery"].photos.photo;
var txt="";
for(i=0;i<projects.length;i++){
txt+=projects[i].description+"<br>";
}
$('content').update(txt);
}
</script> Código HTML:
<html> <body> <div id='content'></div> </body> </html>
agradecería su ayuda gracias
...era para javascript, la mueven por favor, gracias. saludos 
