I've to extract some info from a xml file. The tag pictures is like the following:
<pictures>
<picture>
<picture_url>
<![CDATA[
http://www....jpg
]]>
</picture_url>
</picture>
.
.
.
</pictures>
I don't try to parse it to extract picture_url for every .
I try to print this content but the result is the following:
object(SimpleXMLElement)#258 (1) {
["picture"]=>
array(5) {
[0]=>
object(SimpleXMLElement)#966 (1) {
["picture_url"]=>
object(SimpleXMLElement)#973 (0) {
}
}
[1]=>
object(SimpleXMLElement)#968 (1) {
["picture_url"]=>
object(SimpleXMLElement)#973 (0) {
}
}
[2]=>
object(SimpleXMLElement)#972 (1) {
["picture_url"]=>
object(SimpleXMLElement)#973 (0) {
}
}
[3]=>
object(SimpleXMLElement)#974 (1) {
["picture_url"]=>
object(SimpleXMLElement)#973 (0) {
}
}
[4]=>
object(SimpleXMLElement)#970 (1) {
["picture_url"]=>
object(SimpleXMLElement)#973 (0) {
}
}
}
}
how can I trace the photo url?
Many thank's!