On Mon, 2008-11-17 at 10:37 +0000, Guo Tao wrote: > Hi all, > > I am new to libxml2 library. I use xmlReadMemory to parse the > following string: > > <url>http://www.apple.com/hello.jsp?a=&b=&c=</url> > That's not valid XML. You have to escape ampersands in XML just like you do in HTML, otherwise they are treated as entity references.
> I donot know how to overcome it. Anyone can help me? > <url>http://www.apple.com/hello.jsp?a=&b=&c=</url> _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
