Re: omf, xml



On Wed, 2002-05-08 at 17:16, Matthias Clasen wrote:
> 
> 2. What to do to make gtkdoc-mkhtml cope with Docbook XML:
> 
> - change gtk-doc.dcl to be the XML declaration
> 
> - adjust SGML_CATALOG_FILES to include the docbook xml catalog,
>   typically named CATALOG.db3xml, but make sure that it is not the first
>   catalog in SGML_CATALOG_FILES containing an uncommented SGML_DECL
>   declaration. Otherwise jade will try to parse the DSSSL stylesheets 
>   using the XML declaration, which doesn't work.
>    

An alternative approach worth considering here would be to use
xmlcatalogs and xsltproc to do the same job.

The xmlcatalogs (Daniel Veillard has added support to libxslt) would
point to the dtd and docbook xslt stylesheet, and rather than the
openjade line you could use xsltproc, which you get for free with
libxslt. Among other things, it's substantially quicker than jade.

Cheers,
John
-- 
John Fleck
jfleck inkstain net (h) jfleck abqjournal com (w)
http://www.inkstain.net http://www.abqjournal.com

"You don't want to die with the music still in you."
 - John Gardner




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]