hi,
i used this great tutorial http://www.kirupa.com/web/xml_php_parse_intermediate.htm to parse an xml file, however my xml file has some attributes in the tags:
<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>
how can get the attributes of the article tag “thumb”. i’ve tried get[FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]getAttributeNode() but didn’t work
[/SIZE][/FONT]
$story_array[$counter]->thumb->get[FONT=Verdana, Arial, Helvetica, sans-serif][SIZE=2]getAttributeNode('Thumb')[/SIZE][/FONT] = $data;
any ideas?