IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Table column width Options · View
micky
Posted: Friday, October 25, 2013 6:24:06 AM
Rank: Advanced Member

Joined: 3/8/2011
Posts: 45
Hi,

I have a table and the columns widths are defined in XML as percentages. Each column definition has XPATH expression for 'width' and the output works Okay for HTML. The problem is that XPATH expression is totally ignored in PDF and RTF. All columns are equally wide.
Does anybody have some clue why is this happening?

Thanks
micky
Posted: Thursday, October 31, 2013 7:34:29 AM
Rank: Advanced Member

Joined: 3/8/2011
Posts: 45
Ok, I fixed it for PDF output. The problem was that I gave XPATH expression for width only in tcell style attribute for the the column. I have to set the column width in tcolumn style attribute also.
Now HTML and PDF have proper column widths.
But RTF does not. It is ignoring width property if it is XPATH expression. If I enter concrete number (like 35%) in width property RTF is accepting that.
All above is using Stylevison 2014 and XSLT 2.0

Anybody has a clue?
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.