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

Subject: RE: [xsl] Add one word in starts-with function
From: "Selvaganesh" <selvaganesh_t@xxxxxxxxxxxxxx>
Date: Wed, 23 Dec 2009 16:34:00 +0530
Yes, Andrew. 

-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] 
Sent: Wednesday, December 23, 2009 4:18 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Add one word in starts-with function

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/



Confidentiality Notice:  This transmittal is a confidential communication.  If you are not the intended recipient, you are hereby notified that you have received this transmittal in error and that any review, dissemination, distribution or copying of this transmittal is strictly prohibited.  If you have received this communication in error, please notify this office immediately by reply and immediately delete this message and all of its attachments, if any.

Current Thread