Re: [xsl] Add one word in starts-with function

Subject: Re: [xsl] Add one word in starts-with function
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 23 Dec 2009 10:48:00 +0000
2009/12/23 Selvaganesh <selvaganesh_t@xxxxxxxxxxxxxx>:
> Hi Andrew,
>
> apologetic for missing date.
>
> Input
> <derivations id="Section 83">
> <derivations id="Paragraph 83">
>
> XSL
>
> <xsl:template match="derivations">
> <font size="4" align="center"><B><xsl:value-of select="@id[starts-with(.,
> 'Section')]"/></B></font><xsl:apply-templates/>
> </xsl:template>
>
>
> How can I add the one more starts-with word in single function

do you mean:

select="@id[starts-with(., 'Section') or starts-with(., 'Paragraph')]"

?


-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread