[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Testing for a specific word in a string
Aaron Johnson wrote:
I have a set of tests which assign various parameters. Sometimes the string values are similar and require the same variable to be used. <xsl:when test="starts-with($tabName, 'Pilot')">pilotTab</xsl:when> should do. Or <xsl:when test="contains($tabName, 'Pilot')">pilotTab</xsl:when> If that does not work for you then you need to provide details like error message(s) you get, the input you have. -- Martin Honnen http://JavaScript.FAQTs.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|