discuss: xsltproc and SGML (Was Re: The various tools available)
Subject:
Re: xsltproc and SGML (Was Re: The various tools available)
From:
John Fleck ####@####.####
Date:
13 Sep 2001 02:15:45 -0000
Message-Id: <20010912201359.A1017@inkstain.net>
On Wed, Sep 12, 2001 at 11:25:16AM -0400, Dan York wrote:
> John,
>
> > first to use them for document processing.) To make this possible,
> > Daniel Veillard, their author, added some backward compatibility so
> > libxslt can be used to process DocBook sgml documents, even though
> > they are not XML.
>
> Ummm... no kidding? So does it just use XSLT stylesheets with the
> DocBook SGML file? I would assume it does NOT play with DSSSL stylesheets,
> correct? I didn't realize that DV had done this...
>
Yes, you identify the xsl stylesheet on the command line and it works.
> Does it require the SGML files to be XML-compliant? (i.e. to do things
> like close empty tags... the SGML <imagedata ... > becomes the
> XML <imagedata ... /> ) Or does DV allow for that?
>
I believe, based on my limited experimentation, that the answer is no,
it does not require the doc to be xml-compliant.
Cheers,
--
John Fleck
####@####.#### (h), http://www.inkstain.net/fleck/