Re: About XML file formats



Hi, Fabricio!


1) You can read a XML file with SAX or DOM approaches, ok... but how do you WRITE an XML file? Do you keep in memory a tree representation of the data, and write it all to disk at once? Do you use a self-written function to write line by line to a buffer and then save this buffer? I mean, what is the preferred procedure??

Read API docs of the newest libxml :) Everything is explained quite clear and easy. Also you may look at psindustrializer sources (http://sourceforge.net/projects/industrializer) where xml is used for reading and writing config and data.

WBR,
Yury.



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