[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] FW: Alpha list(label) generarion in XSL


Subject: [xsl] FW: Alpha list(label) generarion in XSL
From: "V.Ramkumar" <V.Ramkumar@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Jul 2008 11:39:49 +0530

Hi,

I am doing XSL (2.0) Transform for One XML 2 Another using saxon9. I have
trouble to generate an alphabet list in XSL.

Input XML:

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

Required Output XML:

<page.list>
<item><label>a</label><para>Explain the concept of I.</para></item>
<item><label>b</label><para>Explain the concept of II.</para></item>
<item><label>c</label><para>Explain the concept of II.</para></item>
</page.list>

I want the xsl for the above. Please help.

Regards,
Ramkumar.


Current Thread
Keywords