[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: forcing non breaking spaces?
At 2006-07-24 13:59 -0400, Steve wrote:
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? That is an inappropriate use of d-o-e= in my opinion. When I need to do the same I do the following: <!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> ... I hope this helps. . . . . . . . . . . . Ken -- 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|