Hi,
i’m using this great tutorial to view an xml using php http://www.kirupa.com/web/xml_php_parse_intermediate.htm
however in my xml file i have somehting like this:
<content Name="Press Releases">
<article Thumb="press/vanityfair.jpg">
<headline>Vanity Fair </headline>
<date>March 2010</date>
<copy_intro><![CDATA[<a href="http://www.ghadahparis.com/press/vanity.pdf" target="_blank">Download as PDF</a>]]></copy_intro>
</article>
</content>
i want to retrieve the attribute of the article tag “thumb”, where should i put the [FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]getAttributeNode() in the above code for this work?
i’ve tried this:
[/SIZE][/FONT]
$story_array[$counter]->thumb->[FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]getAttributeNode('Thumb')[/SIZE][/FONT] = $data;
but didn’t work
thanks for the help