[OT] xml encoding

Simon Wilcox essuu at ourshack.com
Fri Jan 6 16:04:53 GMT 2006

On Fri, 6 Jan 2006, Dirk Koopman wrote:

> But putting that into any xml parser will fail on the '^P' after
> '<PASSWORD>rs'.
> What understanding am I missing?

I don't know about the intenals of libxml2 but have you tried enclosing
the content in a CDATA section ?


The spec talks about the being used "to escape blocks of text containing
characters which would otherwise be recognized as markup" but it might
work for binary characters too.


More information about the london.pm mailing list