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

Re: XHTML to CALS table

Subject: Re: XHTML to CALS table
From: Richard Light <richard@xxxxxxxxxxxxxxxxx>
Date: Mon, 20 Nov 2000 22:36:38 +0000
xhtml skelton
In message <8825699D.006C9DA5.00@xxxxxxxxxxxxxxxxxx>, Ben Skelton
<Ben_Skelton@xxxxxxxxxxxxx> writes

>I was wondering if anyone has a stylesheet or has had any experience converting
>HTML (or XHTML) tables to CALS tables using XSLT. The biggest problems I see in
>doing this is that colspan and rowspans are treated differently. Any help would
>be much appreciated!

I've been going the other way - XCALS (as it were) to HTML.  That poses
some interesting challenges, like filling in 'implied' cells, but
probably a whole different set from the challenges you face.

On balance you may have the easier task, since you can control the
generation of the 'colspec' cells that head up the table, and then
rewrite any column spanning instructions in terms of the colspec naming
conventions - over which you have total control. Row spanning should be
easy, since the logic of the two approaches is the same, it's just that
one is zero-based and the other is one-based.

Richard Light.

Richard Light
SGML/XML and Museum Information Consultancy
richard@xxxxxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.