RE: <?stylesheet href=...

Subject: RE: <?stylesheet href=...
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Tue, 26 Jan 1999 19:02:59 -0500

There are several ways to do it.

a) create a catalog and include in it the reference to your script and get
this reference identified by a name like, for example this:
PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
SYSTEM Myscript "dir1/dir2/MyScript.dsl"

have the system variable SGML_CATALOG_FILES point to this catalog file (on
win32 include that in a bat file like "set

then in the Style sheet Processing instruction set the href to the Sysid

<?xml:stylesheet href="MyScript" type="text/dsssl"?>

b) if you are using the Talva SGML Kit
Include your script reference in the catalog directory located under the
place where you installed the SGMLKit. If you are using a file system
reference set this with a relative URL or an absolute DOS path like

catalog file:
SYSTEM MyScript "../Scripts/MyScript.dsl"
your script is should be located:
  |____ Catalog  <----- The catalog file is located here
  |____ Scripts  <---- The relative URL points here. this where your script
is located.

Then reference that script in the style sheet processing instruction.
<?xml:stylesheet href="MyScript" type="text/dsssl" format="rtf" ?>

if you include the "format" property this indicates the output type to the
dsssl processing engine. In this case, the format will be rtf. You can also
set this to sgml (the SGML output should be HTML and can include style
markups - with IE 5.x CSS1), html, tex do not work actually but we are
working on that (I don't know if we will be able to make it work

Thus, the best way for all cases is to include a systemid in your catalog,
have this catalog pointed by SGML_CATALOG_FILES then use sysid for the href


Didier PH Martin
-----Original Message-----
From: owner-dssslist@xxxxxxxxxxxxxxxx
[mailto:owner-dssslist@xxxxxxxxxxxxxxxx]On Behalf Of J-P Theberge
Sent: Tuesday, January 26, 1999 4:53 PM
To: dssslist@xxxxxxxxxxxxxxxx
Subject: <?stylesheet href=...


When I put this declaration in the prolog of my document:

 <?xml:stylesheet href="admtl.dsl" type="text/dsssl"?>

The dsl is looked for in the same repertory as the xml file is.

Can I keep the same syntax as above (i.e. do not apped a path to the
filename) but have Jade read the dsl from a fixed repertory on my
computer instead?


By the way I havent, so far, thanks all the people who answered
my previous posts.  I do so now.  Thanks guy.

JP Theberge

 DSSSList info and archive:

 DSSSList info and archive:

Current Thread