Subject: RE: [xsl] Proper xsl coding for ? From: "Julian Reschke" <julian.reschke@xxxxxx> Date: Mon, 11 Feb 2002 22:24:38 +0100 |
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Elizabeth > Barham > Sent: Monday, February 11, 2002 9:23 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] Proper xsl coding for ? > > > Brad Cox <bcox@xxxxxxxxxxxxxxxxx> writes: > > > What is the proper way to write and its html friends in xsl > > documents? > > Hi Brad, > > The way I've been doing it is with an entity entitled nbsp: > > <nbsp/> > > The reason I'm using this is because XML Schema doesn't work too well > (at all?) with character entities. > > <xsl:template match="nbsp"> > <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> > </xsl:template> This is not portable and always never required. Just use " ". FAQ at: <http://www.dpawson.co.uk/xsl/sect2/nbsp.html> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Proper xsl coding for &nb, Elizabeth Barham | Thread | RE: [xsl] Proper xsl coding for &nb, Brad Cox |
Re: [xsl] Proper xsl coding for &nb, Michael Capalbo | Date | [xsl] XSLT Whitespace ???, Ragan, Mitch |
Month |