[xml] Functions of xmlsave.c

Hi All,

      I am using xmlSaveFormatFile function for dumping xml Document to a file. If i use some specific encoded xml file (for example xml file encoded in Latin1), the  xmlSaveFormatFile function will dump the whole file including XML decleration in Latin1 encoded format.

        XML Declerations should be encoded or not, if i use xmlSaveFormatFile function of xmlsave.c.If i use the same Xml File generated by this xmlSaveFormatFile function of xmlsave.c, that file is not being parsed by Libxml2, it is switching to some other encoding Format.Please clarify my doubt.

Thanks & Regards,

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