|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] monotonous nbsp coding
Some older browsers have a problem rendering tables with empty <td> tags in
them. (You know which ones...)
Is there a better way to code this in XSLT than the following:
<td>
<xsl:choose>
<xsl:when test="string-length() > 0"><xsl:value-of select="."
/></xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
</td>
This gets monotonous after a while. It would be nice if <xsl:value-of>
could take an attribute which would provide a default value if the select
produces an empty result!
Stuart Zakon
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








