Problem generating pdf due to table error.
Posted: Wed Dec 16, 2015 12:08 am
Hi folks,
As part of a project I am trying to generate a pdf from my file in XML editor. The transformation scenario is to generate a DITA Map PDF.
It generates the Webhelp fine, some minor issues but nothing major to prevent is displaying. However the pdf will not generate and it throws up the following error: cvc-attribute.3: The value 'from-table-column()' of attribute 'text-align' on element 'fo:table-cell' is not valid with respect to its type, '#AnonType_text-alignline-related-properties'.
The error section occurs numerous times and is highlighted in bold in the following codeblock. I tried inserting the attribute to align the text to the left. This seemed to clear up the error but when I tried to generate the pdf it would fail again and the errors would appear all over again.
Please offer any advice on how to get rid of this error - driving me nuts!
Thank you
[Codebox=]<fo:table-row>
<fo:table-cell text-align="from-table-column()"><fo:block end-indent="3pt" space-after="3pt" space-after.conditionality="retain" space-before="3pt" space-before.conditionality="retain" start-indent="3pt">
Link dependency and management<fo:list-block id="unique_1_Connect_42_ul_kcg_w2j_b5" provisional-distance-between-starts="5mm" provisional-label-separation="1mm" space-after="0.6em" space-before="0.6em">
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>hierarchical links</fo:block></fo:list-item-body></fo:list-item>
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>cross references</fo:block></fo:list-item-body></fo:list-item>
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>link to non-DITA resources</fo:block></fo:list-item-body></fo:list-item>
</fo:list-block></fo:block></fo:table-cell>[/Codebox]
As part of a project I am trying to generate a pdf from my file in XML editor. The transformation scenario is to generate a DITA Map PDF.
It generates the Webhelp fine, some minor issues but nothing major to prevent is displaying. However the pdf will not generate and it throws up the following error: cvc-attribute.3: The value 'from-table-column()' of attribute 'text-align' on element 'fo:table-cell' is not valid with respect to its type, '#AnonType_text-alignline-related-properties'.
The error section occurs numerous times and is highlighted in bold in the following codeblock. I tried inserting the attribute to align the text to the left. This seemed to clear up the error but when I tried to generate the pdf it would fail again and the errors would appear all over again.
Please offer any advice on how to get rid of this error - driving me nuts!

Thank you
[Codebox=]<fo:table-row>
<fo:table-cell text-align="from-table-column()"><fo:block end-indent="3pt" space-after="3pt" space-after.conditionality="retain" space-before="3pt" space-before.conditionality="retain" start-indent="3pt">
Link dependency and management<fo:list-block id="unique_1_Connect_42_ul_kcg_w2j_b5" provisional-distance-between-starts="5mm" provisional-label-separation="1mm" space-after="0.6em" space-before="0.6em">
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>hierarchical links</fo:block></fo:list-item-body></fo:list-item>
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>cross references</fo:block></fo:list-item-body></fo:list-item>
<fo:list-item space-after="1.5pt" space-before="1.5pt"><fo:list-item-label end-indent="label-end()" keep-together.within-line="always" keep-with-next.within-line="always"><fo:block text-align="start"><fo:inline/>•</fo:block></fo:list-item-label><fo:list-item-body start-indent="body-start()"><fo:block>link to non-DITA resources</fo:block></fo:list-item-body></fo:list-item>
</fo:list-block></fo:block></fo:table-cell>[/Codebox]