|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: About "starts-with"
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
|
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
|

Cart








