This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: use of starts-with()
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] use of starts-with()
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 26 Oct 2001 01:32:59 +0100
- References: <NDBBIIJFMMOPLGDAMEALCEMHCOAA.mla@gleim.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> On the other hand, this implies then that if the string starts with an
> integer >9 you'd have to follow that with an <<or>> and repeat the statement
> substituting '00)', '000)', etc. Correct?
you could or you could go
not(starts-with(.,')') and starts-with(translate(.,'0123456789',''),')')
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list