Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - ends-with doesn't work >Thread Next - Re: ends-with doesn't work Re: ends-with doesn't workTo: NULL Date: 8/10/2008 8:58:00 PM As others have explained, the Microsoft XSLT processors do not support XSLT 2.0. A workaround is to use the following XPath expression (or to wrap it in a named template): $pPattern = substring ($pString, string-length($pString) - string-length($pPattern)+1 ) Cheers, Dimitre Novatchev "tshad" <tshad@d...> wrote in message news:ulySVeN%23IHA.5192@T...... >I am using Visual Studio 2005 and ends-with doesn't work there. > > I am trying: > > not((starts-with(name(), 'GC') or (starts-with(name(), 'CC')) and > ends-with(name(),'-POUND-') and > > and I get an error: > > ends-with() is an unknown XSLT function. > > But when I look it up, it is there in various places, such as: > > http://www.w3schools.com/Xpath/xpath_functions.asp#string > > Does 2005 use a different version of XSLT? > > Thanks, > > Tom > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
