xsl-list
[Top] [All Lists]

Re: your mail

2002-12-02 01:18:46
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 ( ) 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



<Prev in Thread] Current Thread [Next in Thread>