xsl-list
[Top] [All Lists]

Re: [xsl] How can I preserve ASCII Encoding Character Sets?

2012-11-06 15:55:16
Thank You Michael and Ken,

Please excuse my lack of knowledge on numerical character references. I want to 
preserve   or   as    or  . Currently, as an example, 
  will output into my resulting file as a space, but when the resulting 
xsl file is used to transform the xml file to FO it prints out a bad character 
"Å". I have nailed down the issue to when I convert my stylesheet into one. 

I hope this explains my issue. I appreciate all the help.

Regards,

Phil


On Nov 6, 2012, at 4:37 PM, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:

I've no idea what an "ASCII Encoding Character Set" is - do you perhaps mean 
you want to preserve the particular representation of the non-breaking space 
character using the numeric character reference '&#x00A0;'?

If so, why? And how precisely do you want it preserved? Would '&#xA0;' be OK? 
What about '&#160;'?

I'm a bit surprised that you should want at the same time to obfuscate your 
code and to retain irrelevant details of its visual representation. Perhaps 
I've misunderstood.

Michael Kay


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--