xsl-list
[Top] [All Lists]

Re: XHTML to Cals table conversion

2006-03-01 06:38:41
On 3/1/06, Huditsch, Roman (LNG-VIE) 
<Roman(_dot_)Huditsch(_at_)lexisnexis(_dot_)at> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>