|
Subject: [xsl] replace 'NA' for empty string From: "Lee, Insoo" <Insoo.Lee@xxxxxx> Date: Tue, 11 Feb 2003 17:32:17 -0500 |
Hello,
In my XSL, I need to check if some fields are 'NA' and if so, print blank.
<td align="right"><xsl:value-of
select="SHORT_RATE_365"/></td>
<td align="right"><xsl:value-of
select="LONG_RATE_365"/></td>
<td align="right"><xsl:value-of
select="RATE_360"/></td>
<td align="right"><xsl:value-of
select="CURR_7_DAY_YIELD"/></td>
<td align="right"><xsl:value-of
select="SEVEN_DAY_EFF_YIELD"/></td>
<td align="right"><xsl:value-of
select="AVG_30_DAY_RATE"/></td>
<td align="right"><xsl:value-of
select="PRICE"/></td>
Would you suggest using number-format and use blank as a default
<xsl:decimal-format NaN=""/>
Or should I use test=
Which would be more efficient approach?
Any other better way to do test and replace?
Thanks
IL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Navigating XML Using Attr, Wendell Piez | Thread | [xsl] I need to sort and then displ, Bill Chmura |
| Re: [xsl] Navigating XML Using Attr, Jeni Tennison | Date | [xsl] I need to sort and then displ, Bill Chmura |
| Month |