Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: choose/when - case insensative or uppercase [Thread Next] Re: choose/when - case insensative or uppercaseTo: NULL Date: 7/4/2007 9:36:00 AM Hey Martin, Thanks. I tried something very similar but used variables (apparently wrong). This works great! ~Gina_M~ On Jul 4, 7:28 am, Martin Honnen <mahotr...@yahoo.de> wrote: > Gina_Marano wrote: > > something like > > > <xsl:when test="uppercase(/WorkOrder/VendorName)='BILLYBOB'"> > > <xsl:attribute name="CustomerID">Bob13</xsl:attribute> > > </xsl:when> > > You can use the translate function > <xsl:when test="translate(/WorkOrder/VendorName, > 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')='BILLYBOB'"> > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
