RE: String Handling in XSLT

Subject: RE: String Handling in XSLT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 31 Jan 2000 17:15:33 -0000
> Is there anyway to do string handling (such as only 
> displaying the last four numbers of a credit card).

<xsl:value-of select="substring($card-number,
string-length($card-number)-3)"/>

Other functions include substring-before, substring-after, contains,
translate. Look them up in the spec.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread