Subject: RE: [xsl] Searching a string for partial match; like vb InString or sql LIKE From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 6 Aug 2001 18:31:02 +0100 |
> In the example below, it does not work with partial name. > > <xsl:template match="/"> > <xsl:apply-templates select="//school[contains($xName, > school_name)]"/> > </xsl:template> Reverse the arguments. contains(x, y) returns true if x contains y. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Searching a string for partia, Bill Shaw - EBCX | Thread | [xsl] easy XPath question, Sanjay Pandey/Towers |
[xsl] easy XPath question, Sanjay Pandey/Towers | Date | [xsl] Generic Select again, srinivas kanakapura |
Month |