Subject: Re: [xsl] semi-newbie question about escaping From: Mike Brown <mike@xxxxxxxx> Date: Tue, 15 Oct 2002 12:02:11 -0600 (MDT) |
Bob Purvy wrote: > The goal here was to output some non-breaking space entities in HTML > ( ) to denote indentation. FAQ. You want to get the no-break space character. In HTML you had the unnecessary "nbsp" entity that you could reference if you couldn't or didn't know how to type the character directly (alt-0160 on WinNT/2K/XP) and didn't know that you could write   or  . Well, XML is the same, but doesn't have the "nbsp" entity. So just write   or   and let the XSLT processor worry about how to serialize it in the output (it will most likely emit " " for you). See http://www.dpawson.co.uk/xsl/sect2/nbsp.html for more. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] semi-newbie question about es, Bob Purvy | Thread | RE: [xsl] semi-newbie question abou, Jarno . Elovirta |
Re: [xsl] slicing an XML document, Joerg Heinicke | Date | Re: [xsl] slicing an XML document, Saverio Perugini |
Month |