Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Using parameter as regex in matches() function


Subject: Re: [xsl] Using parameter as regex in matches() function
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 May 2008 23:10:27 +0100

matches takes a string with the regexp and you can build up that string
using normal string functions, so

matches(.,concat('^',$criteria_name,'$'))

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor