Re: [xml] getting rid of '"'
- From: Daniel Veillard <veillard redhat com>
- To: chandni13131 <chandni1313 gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] getting rid of '"'
- Date: Sat, 30 May 2009 16:34:26 +0200
On Tue, May 26, 2009 at 12:29:18PM +0530, chandni13131 wrote:
Hi,
I am trying to generate xml data as below.
<propstat>
<prop>
<getetag>"1243318561"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
but it gets converted to
<propstat>
<prop>
<getetag>"1243318561"</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
I am using XmlWriter to write xmlnodes. How should i generate the desired
xml.
You don't have to, they are exactly the same for an XML parser, just
make sure the consumer is actually expecting XML. If not then it's not
XML that you need to generate and xmlWriter may not be adequate
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]