in reply to LibXML doesn't encode single or double quotes

There's no reason for single quotes and double quotes in text nodes to be escaped. IIRC, even > doesn't need to be escaped.

Replies are listed 'Best First'.
Re^2: LibXML doesn't encode single or double quotes
by choroba (Cardinal) on Nov 29, 2011 at 01:30 UTC
    > must be escaped in ]]>, if it does not end a CDATA section, though (been bitten recently).
      weird, but true. It's a rule that exists solely so that XML can be implemented in SGML.