Hi:
I have this example of xml document that has this definition
<TopD_Logo href="doc.jpg"/>
how do i use php to dis play the value of "doc.jpg"? i do not want array, just simple code that display the value of doc.jpg, so i can use it to display image. any idea?
i can display element value from this xml document
<TopD_Name>Department of Commerce</TopD_Name>
where i display deparetment of commerce on the web pages work fines, but not the attributes. not sure how to write code for attributes.
i am using
xml_set_element_handler($xml_parser, "start_html", "end_html");
xml_set_character_data_handler($xml_parser, "character_data");
function
thank u in advance.