Stylesheet voor cals tables

Pagina: 1
Acties:

  • Zoppie
  • Registratie: December 2000
  • Niet online
Weet er iemand een xsl stylesheet voor een cals dtd?

  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

Misschien dat je voor de mensen met mindere mentale vermogens es wilt vertellen wat cals dtd is?

Of iets meer vermelden over je probleem?

  • Zoppie
  • Registratie: December 2000
  • Niet online
Met alle respect, maar als ik dat moet doen dan heb je ook het antwoord niet.

Maar voor de nieuwsgierigen
Een cals dtd beschrijft een tabel en vindt haar oorsprong in sgml, maar wordt ook gebruikt in xml.

  • mbravenboer
  • Registratie: Januari 2000
  • Laatst online: 06-11-2025
Met alle respect, maar een stylesheet transformeert over het algemeen naar iets ;) .

Ik heb even opgezocht wat 'cals' is. Je wilt zeker naar XHTML transformeren?

Ik vond wat dingetjes:
Vraag:

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!

Antwoord:

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.
I checked back in the archives, and the starting point for converting CALS tables to HTML seems to be table.xsl by nwalsh for the docbook standard. I have downloaded this from
the sourceforge CVS, and have it working - sort of. I am wondering if anyone else has had any experience with this module, since I am having trouble getting cell widths to come out correctly, the table.xsl seems to completely
ignore them.
Hier kan je het dus vinden:
http://docbook.sourceforge.net/

Ik denk dat het deze is:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/xsl/common/table.xsl

Blog, Stratego/XT: Program Transformation, SDF: Syntax Definition, Nix: Software Deployment


  • Zoppie
  • Registratie: December 2000
  • Niet online
Thanks,

Na ongeveer 200 pagina's te hebben bekeken ben ik ook bij hetzelfde verhaal aangekomen, voordat jij de link plaatste.

Mijn vorige reply was niet onaardig bedoelt, maar als ik die zin moet gaan uitleggen dan denk ik ook niet dat je een antwoord kan geven.

Als je weet wat een cals dtd doet dan weet je de rest ook wel. Maar voor de volledigheid:
Ik heb een xml bestand wat aan een dtd voldoet. In deze dtd zit een 'reduced cals dtd' voor de beschrijving van tabellen. Nu wil ik hier html van maken en heb geen zin om zelf een stylesheet te schrijven voor een veel gebruikte dtd als de cals dtd.