Re: [xml] A question about '&'
- From: Daniel Veillard <veillard redhat com>
- To: Ming Lu <mlu argus ca>
- Cc: xml gnome org
- Subject: Re: [xml] A question about '&'
- Date: Sat, 28 Apr 2001 12:43:00 -0400
On Fri, Apr 27, 2001 at 11:39:52AM -0700, Ming Lu wrote:
I'm very new to the xmllib2 library and would like a little help if someone
has the time
I found that I had difficulty to include '&' as part of a node's contend.
For example:
I want to have a node like:
<node>Test&Test2</node>
intead of getting
<node>Test&Test2</node>
I got
<node>Test</node>
Could someone have a look and give me some advice?
Read the spec which says that & *has to* be escaped !
http://www.w3.org/TR/REC-xml#syntax
This is a very basic XML question and not related to libxml itself.
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]