Subject: Re: [xsl] forcing non breaking spaces? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 24 Jul 2006 14:05:15 -0400 |
is.Is there some more elegant way of making sure a space gets added after every value so that, if there is no value associated with it, there is still a space?
More elegant than going <xsl:text disable-output-escaping="yes">&#160;</xsl:text> crazy, that
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!--known for HTML output, not in XML--> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html"/><!--use hardwired browser entities--> <xsl:template match="/"> <!-- root rule --> ... <td> </td> ...
-- UBL/XML/XSLT/XSL-FO training: Verx, Denmark 06-09-25/10-06 World-wide corporate, govt. & user group UBL, XSL, & XML training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] forcing non breaking spaces?, Steve | Thread | Re: [xsl] forcing non breaking spac, Steve |
[xsl] forcing non breaking spaces?, Steve | Date | RE: [xsl] forcing non breaking spac, Michael Kay |
Month |