Daniel Veillard wrote:

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




That is my question, how do I convert the & to &amp;?

or are there no function to do this in libxml?



_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to