Re: html to dsssl ?

Subject: Re: html to dsssl ?
From: Carlos Villegas <cav@xxxxxxxxxxxxxx>
Date: Mon, 12 Jul 1999 17:44:48 +0900

Wachata Wolfgang wrote:

> I'm searching for an program (or script) which converts an static
> html-template into dsssl-code for the jade sgml backend.
> This would be very convenient for many "static" parts of my stylesheets
> (headers, footers, ...). Because now i am wasting much time on converting my
> designed html-code manually to dsssl and then just adding the "dynamic
> parts".
> 
> If there is nothing compareable I could think about coding such an tool
> myself. Good idea? It would be nice to hear some experts opinions...

I've done a couple of HTML transformations with Jade in which I wished I
had something like "Dual Prism", a product from the same company that 
makes Balise. In Dual Prism there are 2 mechanisms, stylesheets and
templates. A stylesheet is similar to what we have in jade+sgml backend,
a declarative stylesheet language plus a powerful transformation
scripting
language (Balise). A template, on the other hand, is for the overall
layout 
such as framesets and icon bars. You can even design your layout
template 
with tools like FrontPage and later just insert some special tags 
(or processing instructions) to tell the Dual Prism engine to insert the
output of some transformation at that point. In addition the template
language allows for connecting to ODBC databases and other things.
I was wondering if it is possible to link jade with something like
PHP3. Actually, I don't know much about PHP3, but it looks like it
may implement this template mechanism. The idea is to add some
instructions to PHP3 to make it do things like, insert the output
of jade here, or even better, the output of a specific "mode" (DSSSL
meaning). Of course, this makes more sense in the case when we
need on the fly conversions from SGML to HTML as a server process.
But I've also found the need in "off line" transformations, just as
Wolfgang is saying. 

Cheers,

Carlos Villegas
Uniscope, Inc.


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread