Patch for porting-howto.xml
Craig Rodrigues
rodrigc@mediaone.net
Tue Jan 15 11:47:00 GMT 2002
On Tue, Jan 15, 2002 at 08:36:01PM +0100, Felix Natter wrote:
> > >From the generated HTML, it looks like some DocBook tool is being used.
> > (Felix? Help us out here?)
>
> this is explained in a comment at the top of porting-howto.xml:
>
> <?xml-stylesheet type="text/xsl" href="docbook-xslt/docbook/html/docbook.xsl"?>
>
> I doubt that this makes so much sense because
>
> 1. hardly anyone has the xslt-stylesheets installed
> 2. xsltproc is just one option. there are many other xslt processors
> available, and because of the "<?xml-stylesheet" processing-instruction
> (and the comment) it is trivial to find the corresponding stylesheets
> (most xslt-processors will find out about this without requiring the user to
> specify it)
I installed a bunch of docbook rpm packages from Redhat Linux 7.1, which have
all the relevant DTD's and xsltproc, but I still could not figure out
how to run xsltproc to generate the html file.
These are the rpm's I have, straight from Red Hat:
% rpm -qa | egrep 'docbook|xsl|xml|gml'
libxml-1.8.9-4
docbook-style-dsssl-1.59-10
sgml-common-0.6.3-7
docbook-dtd40-sgml-1.0-11
docbook-dtd41-sgml-1.0-10
docbook-utils-0.6-13
docbook-dtd31-sgml-1.0-10
xml-common-0.6.3-7
docbook-dtd412-xml-1.0-9
libxslt-1.0.1-3
docbook-dtd41-xml-1.0-7
docbook-dtd30-sgml-1.0-10
libxml2-2.4.12-1
In docbook-dtd41-sgml-1.0-10, I have:
/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd
So what do I do with xsltproc?
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
More information about the Libstdc++
mailing list