[xml] saving to file with new lines



Hello. 

I am using xmlSaveFileEnc function to save xmlDoc to a file. 
However, the saved file does not have any new line feeds. 
When I open the file in a text editor, it's a very long line, which makes it hard to read. 

Is there a way to print with new lines? 

If not, does someone have a similar function? 
Thank you very much.

===========================================================

Jinho Suk

Enterprise Message Queue Developer
E-Biz R&D Center

Mococo, Inc.

11F, Mirae Asset Tower No. A996-1
Daechi-Dong Gangnam-Gu, Seoul, 135-280, Korea

Tel :02-3430-3684
Fax:02-3430-3636

=========================================================== 


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