xml question
| From: | Dan McCullough | Date: | Mon, 06 Dec 2004 16:31:41 +0000 |
| Subject: | xml question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203608@lists.php.net to get a copy of this message | ||
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