docbook-apps

  • 1.  cals table to xhtml1_1 border issue

    Posted 03-19-2010 17:03
    hello

    I have been processing cals tables to xhtml table using the docbook
    xsl and it has been working great in most cases, but I ran into an
    unusual sitch.

    I have the table.borders.with.css parameter set to 1 to support
    @rowsep at row/entry level (any other options to make this happen?).

    The problem I'm having is that if the my table has a colspec with an
    @align value specified, the resulting style attribute loses the border
    information and contains only the alignment setting.

    For example, in the below table if I add align="center" to the
    <colspec> elements, the border information is lost. Do you also
    experience this same behavior or is something I've overlooked or am
    doing wrong? Any options for a work-around are also welcome.

    Thanks in advance for any help!
    rgds
    bob




    <tgroup cols="2">

    <colspec colname="col1" colnum="1" colwidth="50%"/>
    <colspec colname="col2" colnum="2" colwidth="50%"/>


    <row>
    <entry colname="col1">1.1</entry>
    <entry colname="col2">1.2</entry>
    </row>

    <row rowsep="0">
    <entry colname="col1">2.1</entry>
    <entry colname="col2">2.2</entry>
    </row>

    <row>
    <entry colname="col1">3.1</entry>
    <entry colname="col2">3.2</entry>
    </row>


    </tgroup>




  • 2.  Re: [docbook-apps] cals table to xhtml1_1 border issue

    Posted 03-20-2010 02:37
    Hi,

    On Fri, Mar 19, 2010 at 10:03 AM, Robert Moody <robert.e.moody@gmail.com> wrote:
    > I have been processing cals tables to xhtml table using the docbook
    > xsl and it has been working great in most cases, but I ran into an
    > unusual sitch.

    Do you have a particular requirement for XHTML 1.1? As far as I know,
    the only major use of XHTML 1.1 rather than XHTML 1.0 are ePub
    documents. Do you have better results with the "normal" XHTML output?


    Keith