Subject: How to make a like in XSL and use the containes command From: "Deloyer Nicolas" <sky03393@xxxxxxxxx> Date: Mon, 24 Apr 2000 17:06:49 -0700 |
I want to make in a loop(xsl:for-each select ) a
like.
I've seen that there is a command "containes(string,searchValue)" But i don't know how to use this command in the code. Please can somebody send me a sample of an xsl file with this command. I've try this command in the following code but
nothing happened:
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template
match="/">
<TABLE BORDER="1"> <TR CLASS="TableHeader"> <TD>My staff member</TD> <TD>Initials</TD> <TD>Mobile</TD> </TR> <xsl:for-each select="MYSTAFF/MEMBER[FNAME containes(FNAME,'Nic')" ORDERED="FNAME"> <TR CLASS="TableCell"> <TD> <xsl:value-of select="FNAME" /> <xsl:value-of select="LNAME" /> </TD> <TD> <xsl:value-of select="INITIALS" /> </TD> <TD> <xsl:value-of select="MOBILE" /> </TD> </TR> </xsl:for-each> </TABLE> </xsl:template> </xsl:stylesheet> Help me please.... Nicolas.
|
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Multiple XML files for one XSL , Selva, Francis | Thread | Re: How to make a like in XSL and u, Matt Sergeant |
Multiple XML files for one XSL file, scott . wright | Date | Re: How to make a like in XSL and u, Deloyer Nicolas |
Month |