xsl-list
[Top] [All Lists]

RE: [xsl] Testing if a string begins with numeric in XSL 1.0

2009-10-20 04:52:23
or
starts-with(translate($input-name,'123456789','000000000'),'0')

Thanks very much - both good ideas and considerably more elegant than my 
approach.


Adrian Stringer
Software Developer
Direct Dial: 0845 265 6029
Mobile:

Motors.co.uk Ltd is registered in England and Wales with Company No. 5975777.  
VAT registration GB 243 5711 74
Registered address: Northcliffe House, 2 Derry Street, London W8 5TT.  
Motors.co.uk Ltd is a Daily Mail and General Trust plc company.

This message and any attachments are intended for the named addressee only. It 
contains information which may be confidential, legally privileged or otherwise 
protected by law.  If you are not the intended recipient, please telephone or 
email the sender and delete this message and any attachments from your system.  
If you are not the intended recipient you must not copy this message or 
attachments or disclose the contents to any other person. Emails are not secure 
and may contain viruses. Motors.co.uk reserves the right to monitor all e-mail 
communications.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--