[xml] Please help! How to keep quot and apos entities?



Please help!

I have " entity in my XML.

Each time I’m using libxml (xmllint also is a good example) this entity substituted by double quotation.

This also happened with ' but never happened with other “standard” entity like &

 

Can anybody please advise me how to keep " in my XML?

 

For example file my.xml contains:

 

<chapter>

&quot;

&amp;

</chapter>

 

The xmllint outputs

 

<chapter>

&amp;

</chapter>

 

Thank you for your help,

 

Alex

 

 

 



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