[xml] xmlwriter and LF



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




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