Re: [xml] xmlwriter and LF




Please, ignore my request.

I simply needed to set the indentation by a call to:

int xmlTextWriterSetIndent (xmlTextWriterPtr writer, int indent)

Francesco


Hi,

I'm testing the example XMLWRITER.C (tha is the libxml kit).
It uses functions like:

xmlTextWriterWriteComment
xmlTextWriterWriteAttribute
xmlTextWriterWriteFormatElement
....

It seems that such functions write the lines without inserting a
line-termination character (like LF or CR).
Is this correct?

If yes, how I can get a LF (or CR) inserted at the end of each line ?

Thank you.
Francesco

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]