[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: About "starts-with"
Subject: RE: About "starts-with" From: "Selva, Francis" <Francis.Selva@xxxxxxxxxxxxxxx> Date: Wed, 5 Apr 2000 10:25:28 -0700 |
David,I checked the archives and I couldnt find a solution in there.So I guess back to you..... :) How can I get the names which starts with a particular character if my xml is like this? <test> <name>Francis</name> <name>Frank</name> <name>Joe</name> </test> I tried like this which gives me the correct boolean values but how can I get the names? <xsl:template match="/"> <xsl:for-each select="//name"> <xsl:value-of select="starts-with(.,'a')"/> </xsl:for-each> </xsl:template> Francis > > select="name[starts-with(.,'F')]" > > > asked this question before but I missed the answer. > the list is archived, you know. > > David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: About "starts-with", David Carlisle | Thread | Re: About "starts-with", David Carlisle |
RE: Sorting problem with Xalan 1.0., Justin Ludwig | Date | Re: About "starts-with", David Carlisle |
Month |
Keywords