This project has moved and is read-only. For the latest updates, please go here.

Using tables in topic file used for additional content

Topics: User Forum
Nov 2, 2007 at 6:54 PM
I'm a newbie to SHFB - but it is great so far... However, I can't figure out how to use an HTML table in a topic file that I'm using for additional content.

I have a simple <TABLE> element inside my HTML in the <bodyText> element of the additional content topic file.

I looked at the prototype.xsl transformation that's used to transform the topic and it has a section commented with "Pass through html tags from the body" which appears to pass all table tags through, but I don't see the table in the resulting CHM content - all the text from the table cells is there, but it looks like it's joined together into one big paragraph

Thanks - and hopefully I didn't miss anything in the FAQ or docs about this - if so - apologies in advance...
Nov 3, 2007 at 2:34 AM
The transformation is case-sensitive. As such, be sure the tags are in lower case. I just tried a quick test and all tags came through just fine and the table was formatted appropriately based on the selected presentation style.

Nov 5, 2007 at 2:54 PM
Ah, that fixed it - sorry I didn't spot that in the XSL.

Thanks for the quick response - and for a great tool...