[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] replace 'NA' for empty string
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
|
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
|