Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Francois Beauregard
At 11:52 01-01-19 +1100, Brian White wrote: >As far as I understand XHMTL, it simply HTML made XML compliant, which >basically means you always have to put in an end tag. True enough... There is a tool though on the w3c call HTMLTidy that you can pass your HTML code through and will give you bac

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Brian White
( I am still not used to this mailing list - I keep hiting "Reply" and only sending it to the poster. ) Part of the XML standard is that every element will have start and end tags. HTML actually uses the syntax of SGML, which allows some tags to have their end tags omitted - therefore, on som

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Chris Adams
On 18 Jan 2001 14:28:16 -0800, Chris Lee <[EMAIL PROTECTED]> wrote: >I dont know if you can use XHTML syntax in XML, I dont think it works like >this, I think XML is more strict. XHTML *is* XML - it's just HTML reformulated so that a valid XHTML document can be parsed by a normal XML parser witho

RE: [PHP] XML Parser is a bit strict

2001-01-18 Thread Mike Heath
Really the only way around it is to not use XML since your HTML has to have closing tags to make the XML document valid. As far as any XML parser is concerned your HTML is not HTML anymore but is more XML. -Mike -Original Message- From: Butler, Shaun [mailto:[EMAIL PROTECTED]] S

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Chris Lee
I dont know if there is a work around for this, but Im under the understanding that XML has to (not an option) have a closing tag on everything. I know in XHTML they have exeptions, but its slacker. ie. invalid valid or I dont know if you can use XHTML syntax in XML, I dont think it works li