xmlxsltxslt-1.0

Text alignment using PARA element


I am unable to find out as to why the alignment of PARA element is incorrect when I publish the XML to PDF at certain positions.

XML:

<?xml version="1.0" encoding="UTF-8"?>


<PARA0>
<SUBPARA1>
<SUBPARA2>
<TITLE>Title</TITLE>
<PARA>ABCD</PARA>
<RANDLIST PREFIX="SIMPLE">
<ITEM><PARA><EMPHASIS EMPH="BOLD">A1234</EMPHASIS></PARA><PARA
>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</PARA>
</ITEM>
<ITEM><PARA><EMPHASIS EMPH="BOLD">B1234</EMPHASIS></PARA><PARA>
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</PARA>
</ITEM>

</RANDLIST>
</SUBPARA2>
</SUBPARA1>
</PARA0>

The XSLT is quite huge , so I am not able to identify the area which needs to be checked. I am getting a output like described in this figure below:

figure

The desired output is like this figure below:

enter image description here

Could you please help me to form the XSLT to get the correct alignment?

Thanks.


Solution

  • Finally got the PARA alignment right.

    We have to mention the alignment and indent settings in the Paragraph Designer in Framemaker. It depends on how the PARA hierarchy is continued in the document and if it is defined in Framemaker for that particular part of the text. For my case the tag responsible for the document was 'item2suite'.

    So I set the indent and alignment specific to that tag in Framemaker.