Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XHTML to Cals table conversion

From: "andrew welch" <andrew.j.welch@--------->
To:
Date: 3/1/2006 1:39:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent