[xml] Problem with &

Hi all.

When I use xmlNewProp to set the property on a node and the value of the property contain & and I save the xml tree I get & in the output file. This is becaue the & is translated to &. How can I turn of this translation?

I know I can just replace all the occurences of & but I will then have to replace all the occurences of all the & escape sequences and this is not desirable.

Any help will be apreciated.


JC Oosthuizen

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