Subject: RE: XSL: query part of string to return element
From: "Jacoby, Peter R." <PJACOBY@xxxxxxxxxxxx>
Date: Tue, 24 Sep 2002 14:13:14 -0400
|
>>For right or wrong, I am a novice, I have tried xsl:key, starts-with(),
>>context() . . . all to no avail.
David and Tom have given you the correct syntax to use starts-with(), but you
may also want to look at contains() which can be useful for string comparisons.
something like: <xsl:when test="contains(attrdef, 'Navy')">
Hope that helps.
-Peter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|