You *can* use Jade on XML files. The problems you experience are because the
style-sheet.dtd etc are SGML dtd's. The solution is in letting Jade read
these, then telling it to 'switch' to XML, and then letting it read your XML
dtd. So you must do something like this:
> Jade [your dsl stylesheet] -t sgml xml.dcl [your xml file] > [your output
-t sgml: to select the Jade backend you want to use. In my case it was the
xml.dcl: the XML declaration file that gives Jade the correct parameters to
process XML files. It is distributed with Jade, if you don't have it you
should go to www.jclark.com <http://www.jclark.com> to download the latest
version of Jade.
I used this syntax to convert XML to HTML with Jade and it worked fine.
Hope it works,
From: Annegret Fiebig [mailto:[log in to unmask]]
Sent: Friday, February 26, 1999 6:51 PM
To: [log in to unmask]
Subject: XML and DSSSL
for our Project 'Digital Library in Baden-Wuerttemberg' I would like to use
DSSSL-Style-Sheets on XML-files. We need several backends from the
SGML/XML-source which I produced before - on the SGML-files - using James
Clark's Jade. However, Jade doesn't seem to be the right tool for XML, since
the style-sheet.dtd, the dsssl.dtd and the fot.dtd clash with the syntax of
my XML-DTD respectively the 'OMITTAG NO'-line in the SGML-declaration. The
only chance to handle seems using different DTDs - an XML- and an SGML-DTD -
which I don't want to do at all.
On the other hand, I have tried since yesterday the XT-beta with
XSL-style-sheets. The XT doesn't seem able to handle DTD's with XML-files at
all. So I have to change the files before processing, which I wouldn't like
Has anybody a good tip for me what to do?
Thanks a lot in advance,
Zentrum fuer Datenverarbeitung der Universitaet Tuebingen
Waechterstrasse 76, 72074 Tuebingen
e-mail: [log in to unmask] <mailto:[log in to unmask]>