Hi I have a request structure like this
<mL>
<s>1</s>
<dt>2022-01-01-01.00.00</dt>
<q>10</q>
</mL>
<mL>
<s>2</s>
<dt>2022-01-01-02.00.00</dt>
<q>11</q>
</mL>
<mL>
<s>3</s>
<dt>2022-01-02-01.00.00</dt>
<q>12</q>
</mL>
<mL>
<s>4</s>
<dt>2022-01-02-02.00.00</dt>
<q>13</q>
</mL>
and I have to transform this structure into something like this based on the changing dates and
the time intervals
for e.g. in first 2 set of ml tags we can observe <s>1</s> and <s>2</s> have <dt>2022-01-02-01.00.00</dt> and <dt>2022-01-02-02.00.00</dt> here "2022-01-02" is date and "01.00.00" &
"02.00.00" are time intervals, and we have to create the no of elements based on these intervals, only check the sample down here.
<Interval>
<IntervalEnding_01.00.00>10</IntervalEnding_01.00.00>
<IntervalEnding_02.00.00>11</IntervalEnding_02.00.00>
</Interval>
<Interval>
<IntervalEnding_01.00.00>12</IntervalEnding_01.00.00>
<IntervalEnding_02.00.00>13</IntervalEnding_02.00.00>
</Interval>