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
|
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?
|