can you link html to sgml?

Richard -Gilligan- Uschold uschold@cs.ucf.edu
Tue, 28 Nov 2000 17:48:34 +0000


"Christopher B. Browne" wrote:

> Richard -Gilligan- Uschold writes:
>  > I have an html report that I want to call up from a link in the sgml
>  > help system.  I do not want to convert the html to sgml first, not by
>  > hand, anyway, as it was generated by directly by scheme.  Can this be
>  > done?
>
> I've got a DSSSL script [attached below] that can be used to transform
> HTML into "something almost-like-DocBook;" the results need to get
> cleaned up a tad in order to be used, but tend to at least be Useful
> Enough in avoiding the work of manually tagging it all.
>
> Usage is thus:
> % jade -t sgml -d wherever-dsl-file-got-put.dsl inputfile.html > output.docbook
>
> Note that the DSSSL script does _nothing_ about tables, and if you
> have funky HTML attributes like CLASS, FONT, and such, the script will
> pass them through unchanged, which might not be exactly what is
> wanted.

Unfortunately, my html file is one big table, with a header or two.


> --
>
> Gilligan            |                    __o           .oooO
>                    /|                  _ \<,_          (   )
>                   /p|\                (_)/ (_)          \ (   Oooo.
>                  /  | \             ------------         \_)  (   )
>                 ========                                       ) /
>                  ========       gilligan@mpinet.net           (_/
>              ~~~~~~~~~~~~~~~~   uschold@cs.ucf.edu