[xsl] cals table tgroup/colspec/@align attributes written to entry/@align

Subject: [xsl] cals table tgroup/colspec/@align attributes written to entry/@align
From: Frank Marent <frank.marent@xxxxxxxxxxx>
Date: Mon, 21 May 2007 13:22:53 +0200
hello

i wonder if there is an existing xslt solution for this. i couldn't find one:

in cals tables column alignments are set as tgroup/colspec/@align attributes. we need an xslt that inherits entry/@align attributes from the appropriate tgroup/colspec/@align attributes, so the values of the tgroup/colspec/@align attributes are written correctly to the appropriate entry/@align attributes.

since cals tables can be very mean concernings cell spans this is not a trivial task. like this six column table below shows. in this table the three cells in the fifth row (a5, d5 and f5) have to be recognized correctly as first, forth and sixth column cell and cell d5 should be centered since column d is centered.

frank

Current Thread