|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
How to make a like in XSL and use the containes command
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.
|
|
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
| RSS 2.0 |
|
| Atom 0.3 |
|
|