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:14:26 +0530
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


Thanks,
Selva
-----Original Message-----
From: Selvaganesh [mailto:selvaganesh_t@xxxxxxxxxxxxxx]
Sent: Wednesday, December 23, 2009 2:57 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Add one word in starts-with function

Thank you for the mail,

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

Post a small complete sample input, and the complete result you would
like to generate from that...


2009/12/23 Selvaganesh <selvaganesh_t@xxxxxxxxxxxxxx>:
> Hi Team,
>
> I need to process for following keywords only in ID value. How can I fix
the
> one more words in starts-with function.
>
> id="Section 5"
> id="Paragraph 5"
>
> How can I add the paragraph followed by the section.
>
> <xsl:value-of select="@id[starts-with(., 'Section')]"/>
>
> Thanks to everyone,
> Selva.
>
>
> 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.
>
>



--
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.



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