Ho un file XML di INFOPATH che contiene tad anomali come questi:
<my:Country_name></my:Country_name> !!!
Come posso usare il metodi getElementsByTagName(); in Firefox ??
DETTAGLI
Parte del codice XML:
<my:Country_capabilities xml:lang="en-us">
<my:Country_overview>
<my:Country_name>Italy</my:Country_name>
<my:Country_area>301,318</my:Country_area>
<my:Country_population>58 million</my:Country_population>
...continua...
Ho implementatto la solita HTTPrequest come da manuale:
http://developer.mozilla.org/en/docs...etting_Started
Ho usato il codice consigliato per fare un test:
var xmldoc = httpRequest.responseXML;
var root_node = xmldoc.getElementsByTagName('my:Country_area').item(0);
alert(root_node.firstChild.data);
FUNZIONA SOLO CON IE !!!
Qualcuno può aiutarmi ??