Re: [xsl] List Item Content

Subject: Re: [xsl] List Item Content
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Apr 2024 09:36:27 -0000
On 23/04/2024 10:27, Byomokesh Sahoo sahoo.byomokesh@xxxxxxxxx wrote:
Hi,

I am getting stuck where the list item comes in any footnote label.
FindB 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. B  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.B  List Here</p>
</div>


What are the rules, to move all elements p class="ListParagraph" to the
end of the container div element?

Current Thread