[xml] Encoding entities in xmlSaveFile



Hi!

 

I have a string that have the ‘&’ simbol and I put this string into xmlNode with xmlNewDocNode (complete string is ‘Beef 25 €’). Before saving the tree with xmlSaveFile or xmlSaveFileEnc the node contains the ascii proper value of ‘&’. When saving the tree to a file, xmlSaveFileEnc encodes the ‘&’ symbol into & and I need to preserve the original style of string.

 

Help me please!

Thank’s



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