Subject: Re: [xsl] Is it possible to get " " in output rather than the encoded character? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 19 May 2004 13:12:18 +0800 |
I'm fairly new to XML and am trying to generate an HTML file from XML/XSL. ... If I load the xml file (which references the xsl) from within IE6 the " " is displayed as I'd expect (whitespace). However, when using the Microsoft .NET XslTransform, outputting to stdout and redirected to a file I get an ASCII character of value 0xff in the file.
What I'd really like is to get the unencoded " " in the file so that it looks like typical HTML.
"The html output method may output a character using a character entity reference, if one is defined for it in the version of HTML that the output method is using."
I've tried "&nbsp" but it comes out unchanged.
If this is possible I'd really appreciate some pointers.
On a similar note, is there some escape mechanism such as "\ " or "& " (I realise those aren't valid).
-- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004
World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/m/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/m/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Is it possible to get " , Steven Reddie | Thread | RE: [xsl] Is it possible to get "&n, Steven Reddie |
[xsl] Is it possible to get " , Steven Reddie | Date | [xsl] attributes to nested element , Tim Lord |
Month |