[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] starts-with any number
If I want to know if a variable starts with a specific number (let's use
5), I can do this:
<xsl:if test="starts-with($variable, '5')"> ...do something... </xsl:if> But what is the correct syntax if I want to know if this variable starts with any number, 0 to 9? [Using XT from the August spec] TIA, James Garriss | The MITRE Corporation | jgarriss @ mitre.org 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
|