// supersatori :: @supersatori.com @yamago.net :: getText() // // ================================== // renvoie un string, résultat de la concaténation // du contenu des noeuds textes d'un objet XML XMLnode.prototype.getText=function() { var txt=""; if (this.nodeType == 3 ) { txt += this.toString() return txt; } else { for (var lNodes=0;lNodes