Subject: RE: [xsl] FW: Alpha list(label) generarion in XSL From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx> Date: Tue, 8 Jul 2008 12:42:35 +0530 |
Ramkumar wrote: <orderedlist numeration="lc-alpha"> <item><para>Explain the concept of I.</para></item> <item><para>Explain the concept of II.</para></item> <item><para>Explain the concept of II.</para></item> </orderedlist> Try this: ========= <xsl:template match="orderedlist[@numeration='lc-alpha']/item"> <xsl:copy> <label><xsl:number format="a"/></label> </xsl:copy> <xsl:apply-templates/> </xsl:template> <xsl:template match="orderedlist[@numeration='lc-alpha']"> <xsl:element name="page.list"> <xsl:apply-templates/> </xsl:element> </xsl:template> Best, Pankaj chaturvedi Confidentiality Notice:" This message and any attachment(s) contained here are information that is confidential, proprietary to IDS Infotech Ltd. and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not authorized to read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer."
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] FW: Alpha list(label) gen, Jesper Tverskov | Thread | RE: [xsl] FW: Alpha list(label) gen, V.Ramkumar |
Re: [xsl] How to get comments to in, alan . painter | Date | RE: [xsl] FW: Alpha list(label) gen, Michael Kay |
Month |