Etext template..Avoid Record break for a LEVEL.
<LirPlannedJoiningLoads>
<LirPlannedLoad>
<Destination>BRU</Destination>
<DeadLoadWeightByCategory>
<DeadloadWeight>
<LoadCode>F</LoadCode>
<TotalDeadloadWeight>12</TotalDeadloadWeight>
</DeadloadWeight>
<DeadloadWeight>
<LoadCode>C</LoadCode>
<TotalDeadloadWeight>123456</TotalDeadloadWeight>
</DeadloadWeight>
<DeadloadWeight>
<LoadCode>M</LoadCode>
<TotalDeadloadWeight>456789</TotalDeadloadWeight>
</DeadloadWeight>
<DeadloadWeight>
<LoadCode>B</LoadCode>
<TotalDeadloadWeight>789456</TotalDeadloadWeight>
</DeadloadWeight>
</DeadLoadWeightByCategory>
</LirPlannedLoad>
<LirPlannedJoiningLoads>
I need to display the outout as follows
<Destination-3 Spaces-LoadCode-TotalDeadloadWeight>
BRU F 12 C 123456 M 456789 B 789456
<LEVEL> Lir/LirPlannedJoiningLoads/LirPlannedLoad
<POSITION> <LENGTH> <FORMAT> <PAD> <DATA> <COMMENT>
<NEW RECORD> Record 1
1 3 Alpha R, ‘ ‘ Destination
4 3 Alpha R, ‘ ‘ ‘ ‘
<LEVEL> DeadLoadWeightByCategory/DeadloadWeight
<NEW RECORD> Record 2
7 1 Alpha R, ‘ ‘ LoadCode
<END LEVEL> DeadLoadWeightByCategory/DeadloadWeight
<END LEVEL> Lir/LirPlannedJoiningLoads/LirPlannedLoad
When I loop in the etext template. For LEVEL DeadLoadWeightByCategory/DeadloadWeight I need to display the records in a single line only for this level.
Please help me out to get the output BRU F 12 C 123456 M 456789 B 789456. I have tried many alternatives but couldn't avoid the page breaks inside a level for each records.