Re: [xml] xmlParseFile;encode - newbie question

On Wed, Feb 23, 2005 at 12:55:40PM +0200, Pieter Louw wrote:
xml data:

<name>Murray & Karl</name>

  this is not XML. You cannot parse this with an XML parser, it must
raise an error and not deliver data. Whatever generating this must be fixed.

  You probably need
    <name>Murray &amp; Karl</name>

  this is not specific to libxml2.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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