RE: [xsl] RE: Smart Quote Encoding

Subject: RE: [xsl] RE: Smart Quote Encoding
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 13 Sep 2007 16:23:11 +0100
> I have a program that is receiving text-only e-mails and 
> logging the messages to XML.  For various reasons (including 
> troubleshooting), I would like to log the content of the 
> e-mails exactly.  It sounds like that's simply not possible 
> in XML, at least to the extent that "text-only" can include 
> characters not allowed in XML.

You can't represent the character x18 directly in XML 1.0, but you could
represent it for example as <char code="x18"/> or as <?x18?>

Michael Kay
http://www.saxonica.com/

Current Thread