The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.
Download (HTTP): http://telia.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.62.4.tar.gz
Download size: 1.3 MB
Estimated Disk space required: 12.2 MB
Estimated build time: 0.01 SBU
Install DocBook XSL Stylesheets by running the following commands:
install -d /usr/share/xml/docbook/xsl-stylesheets-1.62.4 && cp -af VERSION common extensions fo html htmlhelp images javahelp lib \ manpages params profiling template tools xhtml \ /usr/share/xml/docbook/xsl-stylesheets-1.62.4 && install -d /usr/share/doc/xml && cp -af doc/* /usr/share/doc/xml && if [ ! -f /etc/xml/catalog ]; then mkdir -p /etc/xml; xmlcatalog --noout \ --create /etc/xml/catalog; fi && if [ ! -e /etc/xml/docbook ]; then xmlcatalog --noout --create \ /etc/xml/docbook; fi && xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/1.45" \ "/usr/share/xml/docbook/xsl-stylesheets-1.62.4" /etc/xml/catalog && xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/1.45" \ "/usr/share/xml/docbook/xsl-stylesheets-1.62.4" /etc/xml/catalog && xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/xsl-stylesheets-1.62.4" /etc/xml/catalog && xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/xsl-stylesheets-1.62.4" /etc/xml/catalog && xmlcatalog --noout --add "delegateSystem" \ "http://docbook.sourceforge.net/release/xsl/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegateURI" \ "http://docbook.sourceforge.net/release/xsl/" \ "file:///etc/xml/docbook" /etc/xml/catalog |
/etc/xml/catalog
The above installation script creates the files and updates the catalog.
If you would like to test DocBook XML DTD and DocBook XSL Stylesheets against the BLFS book, use the following command. The command is written for a CVS checkout to your home directory with output going to the present working directory, so make any necessary modifications for your setup.
xsltproc --nonet -o index.html \ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ ~/BLFS/BOOK/index.xml |
The DocBook XSL Stylesheets package contains XSL style sheets for HTML and FO.