I am looking for a algorithm/module/script/paper-napkin with some information in transforming a SGML CALS table over to a HTML table. The XML DTD I am working with allows authors to define tables using the SGML CALS. I believe at one time our data was in SGML but it has been translated to XML and we are displaying it in HTML. The process I have going is getting to be a complicated 3 stage process involving XML processing, XSLT transforming, then some HTML processing before being displayed.

Information is scarce on the internet about doing this translation, and I don't have the time to read through all the SGML modules out there hoping for a bit on outputing to HTML. I have been chewing on this for a while on my own, and I have a pretty good start, but I keep running into little things that are getting to me and sucking up time.

Anybody got anything I may find useful?????


In reply to SGML CALS -> HTML TABLE by admiral_grinder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.