[xsl] preserving ' and "

Subject: [xsl] preserving ' and "
From: vcg <vdcheung@xxxxxxxxx>
Date: Thu, 16 Apr 2009 09:52:40 -0400
hihi all,

how can i preserve the &apos; and &quot; entities?

of the five basic entities (&lt; &gt; &amp; &apos; &quot), why does
&apos; and &quot; get resolved to ' and " respectively even when the
other ones are not resolved (i.e. when i set the XML output encoding
to "us-ascii").

my use case is i may need to wrap the entire XML by quotes or
apostrophes as a string, so any 'inner' quotes and apostrophes need to
be encoded/escaped.

thanks in advance!
-v

Current Thread