xml question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux