On Mon, Aug 21, 2006 at 07:22:12PM +0200, Rob Laveaux wrote:
> 
> I'm using the Windows binaries of libxml as provided by Igor  
> Zlatkovic (version 2.6.26).
> 
> When I call xmlSaveFormatFileEnc it saves the XML file using line feeds.
> Is it possible to configure the line ending style to carriage return  
> + line feed?

  No, 1/ XML parser must convert on input
         http://www.w3.org/TR/REC-xml/#sec-line-ends
      2/ when serializing an XML toolkit won't add extra characters to
         the document

Clearly XML tools should have no problem processing the output and
libxml2 behaviour is the correct one.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to