Re: XML Parser is a bit strict
| From: | Chris Lee | Date: | Thu, 18 Jan 2001 22:29:28 +0000 |
| Subject: | Re: XML Parser is a bit strict | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35472@lists.php.net to get a copy of this message | ||
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
<br>
valid
<br></br>
or
<br/>
I dont know if you can use XHTML syntax in XML, I dont think it works like
this, I think XML is more strict.
Chris Lee
Mediawaveonline.com
""Butler, Shaun"" <sbutler@internet.com> wrote in message
news:0101181709300A.16808@sassafras.iworld.com...
>
> I am using php 4.02 and Apache 1.3.12 and am trying to do some XML
parsing.
> HTML is also in the text I'm parsing and the xml parsing dies if it sees
an
> html tag that does not have a matching closing tag. Is there any work
around
> to this and if so is there a way to make it so XML tags don't need to be
> closed too?
>
> --
> Shaun Butler
> php@sbutler.org
> x2905
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>