This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Best way to have an XML-document which can be parsed as SGML?
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Best way to have an XML-document which can be parsed as SGML?
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sun, 12 Mar 2000 18:40:48 -0500
- References: <Pine.GSO.4.21.0003112003310.14811-100000@falster.mip.sdu.dk>
- Reply-To: docbook at lists dot oasis-open dot org
/ Thorbjoern Ravn Andersen <ravn@mip.sdu.dk> was heard to say:
| I would like to have my DocBook XML documents in a form in which I can
| equally well apply XSL-stylesheets with Cocoon as process it with Jade (to
| get RTF and PDF)
This should be easy. Just use the XML declaration when processing them
with Jade.
jade xxx \path\where\you\put\jade\xml.dcl yourfile.xml
| Can I have a common header for the two processing types (where the SGML
| tools ignore the <?xml and <?xsl tags) or should I create a seperate
| header which is prepended when I run Jade?
SGML tools will ignore those tags.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The sudden disappointment of hope
http://www.oasis-open.org/docbook/ | leaves a scar which the ultimate
Chair, DocBook Technical Committee | fulfilment of that hope never
| entirely removes.--Thomas Hardy