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

RE: [xsl] List grouping


Subject: RE: [xsl] List grouping
From: "Joga Singh Rawat" <jrawat@xxxxxxxxxxxxxx>
Date: Fri, 27 Sep 2013 12:13:21 +0530

2.o

-----Original Message-----
From: Imsieke, Gerrit, le-tex [mailto:gerrit.imsieke@xxxxxxxxx] 
Sent: Friday, September 27, 2013 12:08 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] List grouping

XSLT 1.0 or 2.0?

On 27.09.2013 07:11, Joga Singh Rawat wrote:
> Dear List,
>
> Anyone who can provide the idea to handle below list in worldml
>
> <w:p><w:pPr><w:listPr><w:ilvl w:val="0"/><wx:t 
> wx:val="1."/></w:listPr></w:pPr><w:r><w:t>First 
> level</w:t></w:r></w:p> <w:p><w:pPr><w:listPr><w:ilvl w:val="1"/><wx:t 
> wx:val="a."/></w:listPr></w:pPr><w:r><w:t>Second
> level</w:t></w:t></w:r></w:p>
> <w:p><w:pPr><w:listPr><w:ilvl w:val="0"/><wx:t 
> wx:val="2."/></w:listPr></w:pPr><w:r><w:t>First 
> level</w:t></w:r></w:p> <w:p><w:pPr><w:listPr><w:ilvl w:val="0"/><wx:t 
> wx:val="3."/></w:listPr></w:pPr><w:r><w:t>First lvel</w:t></w:r></w:p>
>
> Should be
>
> <list>
> <li><num>1.</num><p>First level<p>
> <list>
> <li><num>a.</num><p>Second level<p></li> </list></li> 
> <li><num>2.</num><p>First level<p></li> <li><num>3.</num><p>First 
> level<p></li> </list>
>
> Thanks
> .JSR


Current Thread
Keywords