[xml] xmlParseChunk and quotes


I'm using xmlParseChunk function to parse the following xml
fragment. xmlParseChunk takes is as input.

... <car color="id=&quot;43&quot;"> ...

the resulting attribute is as follows:

How can I force xmlParseChunk not to encode &quot; as " and leave it intact. I
would expect the following resulting attribute:


Does it make sense ? Is it possible ? Or my application itself should take care
about quotes in this case.

I'm using libxml2 version 2.6.26.

thanks for help

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