[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: adding markup to tables that have none?


pen swip
DuCharme, Bob (LNG-CHO) wrote:

> This is a tough problem, but it's as old as the use of markup in data 
> files, so I'm sure others have tackled it. When you have a table in 
> which all layout is achieved using spacing (which of course requires 
> the use of a fixed-width font) and you want to add HTML or CALS table 
> markup that identifies row and table entry boundaries, what kinds of 
> tools are out there besides importing to Excel and saving as XML?
>  
> I know that such tools would only work with simpler tables, because 
> spanned entries, wrapped entries, and other fancy table tricks would 
> cause problems, but I thought that there must be something out there, 
> and I can't find anything. Any suggestions?

Topologi Markup Editor has a block mode (control drag) that allows multiple
rectangular sections to be marked up.

1) Open table in editor. Make sure font is monospace.
2) Create pens for table, row, headers and cells.
3) Select cell pen, and control swip each column. Each cell in each line 
will be marked up individually.
4) Ditto for each row.
5) swipe table (not control) to mark it up with table tag.

Using this method, you can mark up a table with 1 drag per column + 2 drags.
Also, autoincrementing ids can be added at the same time. The idea is to 
provide
better editing primitives rather than optical recognition.

(The only gotcha is where the ends of lines are ragged. Rectangular 
selection is limited to
the smallest end-of-line position. If they are ragged, search and 
replace the newline with
a few spaces followed by a newline.)

Cheers
Rick Jelliffe


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.