xsl-list
[Top] [All Lists]

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

2008-07-07 23:08:25

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.



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>