W3C home > Mailing lists > Public > www-style@w3.org > April 1997

Re: The concept of cascading

From: David Perrell <davidp@earthlink.net>
Date: Tue, 29 Apr 1997 14:36:45 -0700
Message-Id: <199704292140.OAA19156@denmark.it.earthlink.net>
To: "Paul Prescod" <papresco@calum.csclub.uwaterloo.ca>
Cc: <www-style@w3.org>
Paul Prescod wrote:
> To: David Perrell
> > Seems simpler to manage and no less controllable than
parameter-passing
> > to activate a program stub.
> 
> How so? This is what I mean by a stub:
> 
> (define departmental-logo
"http://foo.bar.com/department/graphic.gif")
> (define departmental-background (color rgb 0 0 0))
> 
> (define departmental-table-of-contents-style
>     ; some hairy code to generate the world's most beautiful TOC
> )
> 
> (declare-initial-value "Helvetica")
> 
> <stylesheet use="base-company-spec.dsl">
> 

Not so difficult. But then, you skipped the hairy code, which --
depending on the type of hair involved -- some might consider obscene.

> ... I'll admit, however, if you want unconstrained
> changes with no need for forethought on the part of the people
creating
> the base stylesheet, then CSS is better.

No, I think that there would need to be a great deal of forethought put
into the design of a primary stylesheet as well as secondary ones, or
it isn't going to work very well. I thought that was your opinion also.

With care, though, CSS could help keep documents consistent throughout
an organization without creating style chaos. As could a parameterized
style mechanism. Is DSSSL-O a good mechanism? Your examples look good,
but when I look at the spec it seems way too focused in some areas and
totally blind in others, and I have a hard time imagining widespread
acceptance.

David Perrell
Received on Tuesday, 29 April 1997 17:40:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:50 GMT