bonjour,
je n'arrive pas a savoir pour je n'arrive pas a lire le src de la balide:

<img src"xxx" /> aussi balise <a href="zzzz" /> a partir d'un fichier xml

parcontre les avec les autres tout va bien

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
<description>
<![CDATA[
<img src="http://l.yimg.com/a/i/us/we/52/34.gif"/><br />
<b>Current Conditions:</b><br />
Fair, 59 F<BR />
<BR /><b>Forecast:</b><BR />
Mon - Mostly Sunny/Wind. High: 67 Low: 46<br />
Tue - Mostly Sunny. High: 78 Low: 51<br />
<br />
<a href="http://us.rd.yahoo.com/dailynews/rss/weather/Lincoln__NE/*http://weather.yahoo.com/forecast/USNE0283_f.html">Full Forecast at Yahoo! Weather</a><BR/><BR/>
(provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>
]]></description>


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
xml = GXml.parse(data);
 
 var monvar = xml.getElementsByTagName('img').attributes.getNamedItem("src").nodeValue;

ce code n'afficher rien..
même si je réessayer seulement:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
 var monvar = xml.getElementsByTagName('img').length;
il m'affiche 0!!!!!!