[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    Re: [PHP-DB] PHP and XML Parsing
From:       "Rick Dahl" <dmbserver () hotmail ! com>
Date:       2003-11-26 16:05:01
[Download RAW message or body]

Thanks...I used that idea and just did some replacing before and after the
parsing.  The database is maintained by our clients and it would be too
confusing for them.  Thanks

RIck
----- Original Message -----
From: "Ignatius Reilly" <ignatius.reilly@free.fr>
To: "Rick Dahl" <dmbserver@hotmail.com>; <php-db@lists.php.net>
Sent: Wednesday, November 26, 2003 9:48 AM
Subject: Re: [PHP-DB] PHP and XML Parsing


> If your "&" is meant as a content data, as opposed to an entity call, then
> your XML is probably not valid.
>
> To write "&" as a character, you can either:
> - use &#x26; directly
> - declare an &amp; entity having the value &#x26 and write &amp; in your
> document
>
> HTH
> Ignatius
> _________________________
> ----- Original Message -----
> From: "Rick Dahl" <dmbserver@hotmail.com>
> To: <php-db@lists.php.net>
> Sent: Wednesday, November 26, 2003 16:33
> Subject: [PHP-DB] PHP and XML Parsing
>
>
> I have a piece of xml that has characters like & and other non-normal
ones.
> When I use the
>
> $this->parser = xml_parser_create(); functions it doesn't read the entire
> character sting inside the <tag></tag>.  It stops at the &.  If I take out
> the & it works perfectly.  Any ideas on how I can fix this?
>
> Rick
>
>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic