[xsl] Re: your mail

Subject: [xsl] Re: your mail
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 2 Dec 2002 01:18:46 -0700 (MST)
Rakesh Seth wrote:
> I want to populate a table using XSL.The problem is when there is no value
> for the cell I am not able to see the cell border.

Put a no-break space character (&#160;) in the cell. For example,

<td>
  <xsl:choose>
    <xsl:when test="normalize-space()">
      <xsl:value-of select="."/>
    </xsl:when>
    <xsl:otherwise>&#160;</xsl:otherwise>
  </xsl:choose>
</td>

   - 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