2 Replies Latest reply on Mar 8, 2010 9:57 AM by jscamposcr

    XML problem

    jscamposcr

      Hello every one, i'm just wondering how to read this part of an XML:

       

      <![CDATA[
      ><img src="http://l.yimg.com/a/i/us/we/52/34.gif"/><br />
      <b>Current Conditions:</b><br />
      Fair, 25 C<BR />
      <BR /><b>Forecast:</b><BR />
      Mon - Isolated Thunderstorms. High: 26 Low: 15<br />
      Tue - Isolated Thunderstorms. High: 27 Low: 16<br />
      <br />
      <a href="http://us.rd.yahoo.com/dailynews/rss/weather/Alajuela__CR/*http://weather.yahoo.com/foreca st/CSXX0009_c.html">Full Forecast at Yahoo! Weather</a><BR/><BR/>
      (provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>
      ]]>

       

      what i want to get from there is the src of the img tag into the CDATA, have tried with this:

       

      trace("Image: " + _xmlData.channel.item.description.img.@src);

       

      but it seems that i doesnt work, should i inclode the CDATA or how should i try to get to it??? THANKS!!!