I am using libxml parser to parse an xml file using API’s of xmlnode.h. My xml file contains special characters of xml ("&","<",">", etc)
which are replaced by entity references. My problem is ,When i parse my file for the first time,the file is parsed successfully but once we save the document after parsing the file , it replaces “&” to original character “&”.This in turn corrupts the xml file and hence next time the file is not successfully loaded by the parser.
Please help in resolving this issue. If libxml.a is open source then can anyone tell me how can i get its source code.
Thanks in advance.