This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: encoding issues


The problem is that the Defaultss.xsl uses the http://www.w3.org/TR/WD-xsl
namespace and doesn't recognise the xsl:space="preserve" attribute.

-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of bryan
Sent: Wednesday, July 03, 2002 10:33 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] encoding issues



>...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   ??


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




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]