starts-with any number

Subject: starts-with any number
From: "Garriss Jr.,James P." <jgarriss@xxxxxxxxx>
Date: Mon, 18 Oct 1999 08:29:17 -0400
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')"> something...

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]


James Garriss | The MITRE Corporation | jgarriss @

XSL-List info and archive:

Current Thread