0

我正在尝试将我的 CALS 表的标题行旋转 90 度。但是,在编译时,参数被忽略并且格式保持不变。

该表是 .xsl 文件中的 CALS 格式,该文件被翻译成 DocBook,这就是为什么我不能使用 CSS 进行格式化的原因。

这是我到目前为止所拥有的:

<table frame="all">
    <title>Title</title>
    <tgroup cols="3">
        <thead valign="bottom">
            <row>
                <entry>
                    <?dbfo orientation="90"?>
                    <?dbfo rotated-width="1in"?>
                    FirstCell
                </entry>
                <entry>
                    <?dbfo orientation="90"?>
                    <?dbfo rotated-width="1in"?>
                    SecondCell
                </entry>
                <entry>
                    <?dbfo orientation="90"?>
                    <?dbfo rotated-width="1in"?>
                    ThirdCell
                </entry>
            </row>
        </thead>
        <tbody>
            <row>
                <entry>1</entry>
                <entry>2</entry>
                <entry>3</entry>
            </row>
            <row>
                <entry>4</entry>
                <entry>5</entry>
                <entry>6</entry>
            </row>
        </tbody>
    </tgroup>
</table>

表格本身就很好,除了参数

<?dbfo orientation="90"?>
<?dbfo rotated-width="1in"?>

只是被忽略,标题行中的单元格仍然相同。

我已经尝试使用<xsl:text>和/或转义字符来包装参数,但没有任何效果。有没有其他方法可以旋转文本方向,或者我可能错过了什么?

4

0 回答 0