Re: [xml] Functions of xmlsave.c

On Mon, Jun 13, 2005 at 09:31:14AM -0000, SATISH  KUMAR wrote:
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. 

  I'm not sure I understand your question, nor that it's specific to libxml2
  Read appendix F of the XML specification:
when in doubt, re-read it :-)


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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