XPP alignment issue

As per mention below i have two elements p1 & p2  


<root>
<p1>ABC  ABCDEFGHIJKLM AOWER switch Ohigh</p1>
<p2>AA</p2>                   
</root>

 

If p1 exceeds 15 pica width it should wrap to next line & content is left justified

 

p2 content should but right justified having 11pica width

 

sample for final alignment looks like this


ABC  ABCDEFGHIJKLM  AOWER
switch Ohigh.............................................................................. AA

Here I am using CSS and macros instead of Item formats.

emoji