i have the following xml in my.xml file:
Code:
<s:Schema id="RowsetSchema"></s:Schema>
<rs:data>
<z:row ows_Title="News"/>
<z:row ows_Title="Qatar Media Services launches its new logo" ows_Comments="Qatar Media Services"
link ="<img alt="" border=0 hspace=0 src="image002.jpg" style="border:0px solid">"/>
in actionscript i did this
Code:
my_xml = new XML();
my_xml.load("myxml.xml");
my_xml.onLoad = my_function;
my_xml.ignoreWhite = 1;
function my_function() {
text_field_1.text = my_xml.firstChild.childNodes[1].childNodes[1].attributes.link
}
in text_field_1 the result i have is the following code:
<img alt="" border=0 src=image002.jpg" style="border:0px solid">
but i need only:
image002.jpg
to be appear as text result (in text_field_1)
any help please
thanks