Tabbed text to Tables

Description

Convert tab delimited text into corresponding tables.

Possible solution for simple 2-cell tables

Create an override for "content.xsl" which introduces a style specific paragraph match:

Add this to the project with "wwtransform:super" to ease maintenance.

NOTE: This is an initial attempt at implementing this code. The code was implemented for Dynamic HTML, but should also work for WWHelp 5.0.

Sample project archive: Tabs to Tables

2011-04-26

Test document Hanging Indent.zip attached.

2011-04-27

Smarter override attached in archive Tabs to Tables.2011-04-27.zip.

This version breaks out the tab split operation into an XSL call-template. This allows it to be used from multiple match templates. Further, line breaks are suppressed in these instances to avoid incorrect wrapping of content. Finally, the code can either auto-calculate an initial cell width based on the text-indent or an explicit cell width can be supplied.

DevCenter/Projects/Tabbed text to tables (last edited 2011-04-27 21:36:25 by BenAllums)