is there any of getting the "unprintable" character such as "&HA0" to appear
as   ?
thanks,
john wrote:
> is there any of getting the "unprintable" character such as "&HA0" to appear
> as   ?
Which Unicode character exactly is "&HA0"?
Do you have that "unprintable" character in the input XML? Is the input
XML well-formed?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
"Martin Honnen" <maho...@yahoo.de> wrote in message
news:OzbPqioI...@TK2MSFTNGP10.phx.gbl...
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
The character which is expressed as a0, often termed a non-breaking space
can be represented in XML documents as:
& - #- x-a-0 -;
OR
& -#-160-; (if you prefer decimal to hexadecimal)
(both without the - which I've put in to overcome some newsreaders'
helpfulness)
If you want to use the &-n-b-s-p-; that is used in HTML then you'll need to
embed a DTD into your document.
--
Joe Fawcett (MVP - XML)
https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5
john wrote:
> yes the xml file is well formed.
> it's some kind of hidden spacing.
> the original file is was in hex form and then after transformating it,
> theres' a blank space in that location.
Well, if you have the character 160 in there properly encoded then it
shouldn't be a problem.
I don't think XSLT allows you to force output with a character reference
e.g.   (& # 1 6 0 ; for web forum), unless you tried e.g.
<xsl:output encoding="US-ASCII" />
which then would force anything outside of ASCII, so anything beyond 127
to be output as a character reference.