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/ [email protected] | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
