Download location (HTTP): http://telia.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.60.1.tar.gz Download location (FTP): Version used: 1.60.1 Package size: 1.2 MB Estimated Disk space required: 11.1 MB |
The docbook-xsl package contains xsl stylesheets. These are useful for performing transformations on XML DocBook files.
docbook-xsl depends on: libxslt-1.0.29 |
Install docbook-xsl by running the following commands:
install -d /usr/share/xml/docbook/xsl-stylesheets-1.60.1 && cp -af VERSION common extensions fo html htmlhelp images javahelp lib \ manpages params profiling template tools xhtml \ /usr/share/xml/docbook/xsl-stylesheets-1.60.1 && 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.60.1" /etc/xml/catalog && xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/1.45" \ "/usr/share/xml/docbook/xsl-stylesheets-1.60.1" /etc/xml/catalog && xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/xsl-stylesheets-1.60.1" /etc/xml/catalog && xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/xsl-stylesheets-1.60.1" /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 xml-dtd and docbook-xsl 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 package contains xsl stylesheets.