[xsl] List Item Content

Subject: [xsl] List Item Content
From: "Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Apr 2024 08:27:22 -0000
Hi,

I am getting stuck where the list item comes in any footnote label.
Find the below XML and desired Output.

XML

<div id="1">
<p class="BodyText">Afresh is<sup>1</sup> of the would be<sup>2</sup>.</p>
<p class="ListParagraph">1.   List Here</p>
<p><sup>1</sup> 2 SCC 356</p>
<p><sup>2</sup>Test Here</p>
<p class="ListParagraph">List ietm 1 Text Here</p>
<p class="ListParagraph">List Item 2 Text Here</p>
</div>


OutPut Required:

<div id="1">
<p class="BodyText">Afresh is<sup>1</sup><p><sup>1</sup> 2 SCC 356</p> of
the would be<sup>2</sup><p><sup>5</sup>Test Here</p>
<p class="ListParagraph">List ietm 1 Text Here</p>
<p class="ListParagraph">List Item 2 Text Here</p>.</p>
<p class="ListParagraph">1.  List Here</p>
</div>

Thanks

Current Thread