Re: [xsl] display & as text

Subject: Re: [xsl] display & as text
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Fri, 04 Jun 2010 23:00:16 +0100
The reason is to copy and past text with ampersands into my xml file without having to convert one ampersand form into another.

Copying and pasting into an XML document is likely to lead to tears. Partly for this reason, and partly because it's very likely the text you paste in will be in the wrong character encoding. It might work OK if you do the paste operation under the control of an XML editor which can apply the necessary conversion. So, find a more robust way of creating/editing your XML documents.

Michael Kay

Current Thread