Re: [dssslist] Deriving stylesheet from derived stylesheet

Subject: Re: [dssslist] Deriving stylesheet from derived stylesheet
From: Tuukka Mäkinen <tukem@xxxxxx>
Date: Thu, 03 Mar 2005 00:45:50 +0200
Srdjan Sobajic wrote:
---- Lot of stuff removed ----

Is it possible to derive the stylesheets in such a way to get both
HTML and Print capability in the same stylesheet?

Could you use the alternative way mentioned in the link you gave? I mean using <![%print; [ and ]]>.

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<!ENTITY % print "IGNORE">

<![ %html;[
<!ENTITY parent-stylesheet SYSTEM "../html/docbook.dsl" CDATA DSSSL>

<![ %print; [
<!ENTITY parent-stylesheet SYSTEM "../print/docbook.dsl" CDATA DSSSL>

  <style-specification use="docbook">
<![ %output.html; [     <!-- HTML specific customisations -->


<![ %output.print; [ <!-- Print specific customisations -->


<!-- Non-specific customisations -->

  <external-specification id="docbook" document="parent-stylesheet">

-Tuukka Mdkinen

Current Thread