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

Re: Those pesky  's again


Subject: Re: Those pesky  's again
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 5 Apr 2000 01:11:20 +0100 (BST)

why do you care about entity references in the result file?
just put &#160; into the result tree and let the serialiser serialise
it as it wants, it's still the unicode non break space, however it gets
written. (if you use the html output method then xt and probably most
other systems will write it as &nbsp;

To generate a doctype line use the doctype-system attribute to
xsl:output. 

You probably don't need the entity declaration at all, but
if you do, do you want to declare nbsp to be a space?
unless your posting got eaten by a mail gateway somewhere
it looked like you were redefining this to be space (#32)
but the browsers will be expecting the unicode character #160.

David


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



Current Thread
Keywords