Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Using PHP to parse specific XML tag content? >Thread Next - Re: Using PHP to parse specific XML tag content? Re: Using PHP to parse specific XML tag content?To: NULL Date: 12/3/2008 6:00:00 AM Mechphisto wrote: > Oh holy sheesh! > I saw somewhere something about the parser converting tags to > uppercase, so I changed all the tags to uppercase in the PHP and in > the XML file, and bammo! It all works fine now. > Crazy, annoying... grrr. > uh... that sounds so broken.. xml is case sensitive... is it possible the parser has a flag to run in html mode (where tags are not case sensitive), and that flag needs to be turned off to truly parse xml? Ah yes: see the xml_parser_set_option man page: http://us.php.net/manual/en/function.xml-parser-set-option.php Specifically the XML_OPTION_CASE_FOLDING and remember that http://us.php.net is your friend. -- Ron Fox NSCL Michigan State University East Lansing, MI 48824-1321 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
