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

2010-03-21 Thread Robert Moody
Hello Bob/Jeff

Thanks much for looking into this.

Yes Kevin, I'm trying to get output for ePub, so I'll have a go at
modifying the normal-row template Bob mentions (wish me luck!;-),
unless someone already has a modified version I could use (now that
would be luck!).

cheers
bob

On Fri, Mar 19, 2010 at 11:54 PM, Bob Stayton b...@sagehill.net wrote:
 This problem was introduced in the xhtml-1_1 stylesheet file table.xsl.  In
 the template name 'normal-row', two clauses set the 'style' attribute, one
 overwriting the other.   This problem does not occur in the xhtml
 stylesheet.  I filed a bug report for this.

 Bob Stayton
 Sagehill Enterprises
 b...@sagehill.net


 - Original Message - From: Robert Moody robert.e.mo...@gmail.com
 To: docbook-apps@lists.oasis-open.org
 Sent: Friday, March 19, 2010 10:03 AM
 Subject: [docbook-apps] cals table to xhtml1_1 border issue


 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

 ?xml version=1.0?

 table frame=all rowsep=1 colsep=1
 tgroup cols=2

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

 tbody
 row
 entry colname=col11.1/entry
 entry colname=col21.2/entry
 /row

 row rowsep=0
 entry colname=col12.1/entry
 entry colname=col22.2/entry
 /row

 row
 entry colname=col13.1/entry
 entry colname=col23.2/entry
 /row
 /tbody

 /tgroup
 /table

 -
 To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
 For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org






-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



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

2010-03-19 Thread Keith Fahlgren
Hi,

On Fri, Mar 19, 2010 at 10:03 AM, Robert Moody robert.e.mo...@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

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



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

2010-03-19 Thread Bob Stayton
This problem was introduced in the xhtml-1_1 stylesheet file table.xsl.  In the 
template name 'normal-row', two clauses set the 'style' attribute, one overwriting the 
other.   This problem does not occur in the xhtml stylesheet.  I filed a bug report 
for this.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net


- Original Message - 
From: Robert Moody robert.e.mo...@gmail.com

To: docbook-apps@lists.oasis-open.org
Sent: Friday, March 19, 2010 10:03 AM
Subject: [docbook-apps] cals table to xhtml1_1 border issue



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

?xml version=1.0?

table frame=all rowsep=1 colsep=1
tgroup cols=2

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

tbody
row
entry colname=col11.1/entry
entry colname=col21.2/entry
/row

row rowsep=0
entry colname=col12.1/entry
entry colname=col22.2/entry
/row

row
entry colname=col13.1/entry
entry colname=col23.2/entry
/row
/tbody

/tgroup
/table

-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org






-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org