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

Re: XHTML to Cals table conversion

Subject: Re: XHTML to Cals table conversion
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 1 Mar 2006 13:38:41 +0000
conversio table
On 3/1/06, Huditsch, Roman (LNG-VIE) <Roman.Huditsch@xxxxxxxxxxxxx> wrote:
> Hi,
>
> I was just looking for a stylesheet, which can transform XHTML to Cals
> tables.
> But I couldn't fin anything useful on the net.
> Has anyone done such an XSLT yet? I just read that it is very difficult
> to write one
> because of the raspan behavior of XHTML tables....
> Am thankful for any hint :)
> Otherwise I'll have to try to write it myself :(

Converting an XHTML table to a CALS table should be relatively
straight forward, as I would think there's an equivalent in CALS
markup for every element/attribute in an XHTML - eg rowspan in XHTML,
morerows in CALS, so you should be able to do a 1 for 1 mapping.

Going the other way, from CALS to XHTML is much much harder, because
CALS is so slack, so you're lucky there :)

You may find an XHTML -> Oasis conversion out there: the Oasis table
model is a simpler subset of Cals used by Docbook (I think) so someone
may have written one already (although again, usually the conversion
is the other way around).

cheers
andrew

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.