Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: How to match on a literal asterisk >Thread Next - Re: How to match on a literal asterisk Re: How to match on a literal asteriskTo: NULL Date: 3/7/2006 8:08:00 PM glenn.owens@g... wrote: > Let's suppose that you're incorrect... how would someone represent the > xsl:when statement with a literal asterisk??? I don't see anything wrong with the <xsl:when test="contains(Name,'*')"> you posted. XPath 1.0 does not have an escape mechanism for characters inside of string literals. Of course as XSLT is XML you could also use <xsl:when test="contains(Name,'*')"> or <xsl:when test="contains(Name,'*')"> but all that looks like the wrong attempt to find out why you get the error. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
