Re: Simple XML - problem with errors

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

 



Okay. At least one of the problems with this so called HTML seems to
be that the body tag looks like
<BODY vlink=#ffffff ...>
and xml_parse complains that "> required" on that line (i.e. it is
claiming it can't find the end of the tag!).

I'm guessing that those attributes "must" be quoted in XML and
"should" be in HTML (but patently aren't)? Is there any way to get
xml_parse to ignore that? My element_handler functions never even get
a chance to see that line.

Regex to insert quotes or remove the attributes entirely, perhaps?
*gulp* I hope there's a better way than that.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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