neerajmurali Posted April 17, 2007 Share Posted April 17, 2007 how we can perform a pattern matching using xsl.i want to check the format of a string(eg: email address) and i also want to check wther a substring is contained in a string Link to comment Share on other sites More sharing options...
boen_robot Posted April 17, 2007 Share Posted April 17, 2007 You can check whether a certain substring is contained within a string with the contains() function.Regular expression functions however are not a standart part of XSLT 1.0. They are part of XSLT 2.0, and for XSLT 1.0, there are EXSLT regex functions which however are only natively supported in the 4XSLT processor. For MSXML and other Microsoft XSLT processors, you can use the MSXSL implementation by including it in that stylesheet in your own and using calling the function as normal. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now