Re: [xml] Entity problem
- From: David Hagood <david hagood gmail com>
- To: Guo Tao <guotaotony hotmail com>
- Cc: xml gnome org
- Subject: Re: [xml] Entity problem
- Date: Mon, 17 Nov 2008 06:58:36 -0600
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]