Re: (dsssl) Comparing style sheet languages

Subject: Re: (dsssl) Comparing style sheet languages
From: ydirson@xxxxxxxxx
Date: Thu, 27 Jun 2002 10:24:49 +0200
On Wed, Jun 26, 2002 at 03:15:21PM +0200, Håkon Wium Lie wrote:
> I'm putting together a page to compare various style sheet languages. 
> The purpose of this message is to ask for help filling in the empty
> cells in teh DSSSL column. Also, and other comments, corrections or
> contributions you may have is welcome.

FWIW, P is the styling language of Amaya because it is the one of
ThotLib, you may want to mention this.

To customize a stylesheet in DSSSL, you'll need an example with much
more context, including the SGML tags that enclose the scheme-based

========== cut here
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY parentdsl PUBLIC "Public//identifier//of//parent//stylesheet" CDATA dsssl>
  <style-specification use="parent">

;; your overrides go here

(element H1
  (make paragraph
      font-size: (* 2 (inherited-font-size))))


  <external-specification id="parent" document="parentdsl">
========== cut here

I'm not 100% sure, but I believe that it is also possible in P,
although I have to check.  I also believe the code for generated text
is overly complicated - I see if I find some time to make better.

The "Select any P element that is the first child element of its
parent" code for DSSSL has been pasted twice.

Yann Dirson <Yann.Dirson@xxxxxxxxxxxxx>       
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@xxxxxxxxxx)                        Développeur Debian

 DSSSList info and archive:

Current Thread