[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] encoding issues


Subject: RE: [xsl] encoding issues
From: "bryan" <bry@xxxxxxxxxx>
Date: Wed, 3 Jul 2002 11:32:35 +0200

>...I just dont get it.  The xml specifies utf-8, the xsl specifies
utf-8
>and has xml output type, the output has an xml declaration specifying
>utf-8, and its all run through saxon which defaults to utf-8!  So why
>does IE 'autodetect' Western European and not recognise &#160; ??


I think what's going on is that you're expecting to "see" the result of
putting a space or sequence of spaces into the xml file when you view
the xml file in IE(or is it that you want the whitespace to be
maintained on output itself?). That won't happen since xml files are
supposed to ignore whitespace, now if you put xml:space="preserve" as an
attribute on the element you want the whitespace to be significant in my
understanding is that it should be displayed. 
However my experience with IE is that it does not display it, perhaps
this is a bug in the Defaultss.xsl.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords