Question.  I need to get one value out of an xml document.
...
<categories>
        <cat>Desserts</cat></categories>
...
 
what do I need to do?
 
$xml_parser = xml_parser_create();
xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, true);
xml_set_element_handler($xml_parser, "<cat>", "</cat>");
 
something like this?  or not quite?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to