[
Lists Home |
Date Index |
Thread Index
]
- To: asim <qazi@advcomm.net>
- Subject: Re: [xml-dev] The '&' Problem
- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Sat, 01 Nov 2003 09:47:33 +0100
- Cc: xml-dev@lists.xml.org
- In-reply-to: <002401c3a02f$c0c8ad70$b400a8c0@asim>
- References: <002401c3a02f$c0c8ad70$b400a8c0@asim>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
asim wrote:
> Hi All
> I querry a database table and make a XML packet dont know which
> field can contain '&' .. what should i do so that my parser should not
> break will parsing ....
>
> Qazi Asim
Escape it as "&". And do not forger "<" ("<") and possible issues
with non-ASCII characters in case you're not using ASCII.
Julian
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
|