The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.
This package is known to build and work properly using an LFS-6.5 platform.
Download (HTTP): http://downloads.sourceforge.net/docbook/docbook-xsl-1.75.2.tar.bz2
Download MD5 sum: 0c76a58a8e6cb5ab49f819e79917308f
Download size: 1.5 MB
Estimated disk space required: 50 MB (includes installing optional documentation)
Estimated build time: less than 0.1 SBU
Optional documentation
Download (HTTP): http://downloads.sourceforge.net/docbook/docbook-xsl-doc-1.75.2.tar.bz2
Download MD5 sum: 0a59c4c1796683fca32881c221df0b16
Download size: 1.4 MB
Ruby-1.9.1-p376 (to utilize the “epub” stylesheets)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/docbook-xsl
If you downloaded the optional documentation tarball, unpack it with the following command:
tar -xf ../docbook-xsl-doc-1.75.2.tar.bz2 --strip-components=1
BLFS does not install the required packages to run the test suite and provide meaningful results.
Install DocBook XSL Stylesheets by
running the following commands as the root user:
install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.75.2 &&
cp -v -R VERSION common eclipse extensions fo highlighting html \
htmlhelp images javahelp lib manpages params profiling \
roundtrip slides template tools website xhtml xhtml-1_1 \
/usr/share/xml/docbook/xsl-stylesheets-1.75.2 &&
install -v -m644 -D README \
/usr/share/doc/docbook-xsl-1.75.2/README.XSL &&
install -v -m755 RELEASE-NOTES* NEWS* \
/usr/share/doc/docbook-xsl-1.75.2
If you downloaded the optional documentation tarball, install the
documentation by issuing the following command as the root user:
cp -v -R doc/* /usr/share/doc/docbook-xsl-1.75.2
Create (or append) and populate the XML catalog file using the
following commands as the root
user:
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/1.75.2" \
"/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/1.75.2" \
"/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-1.75.2" \
/etc/xml/catalog
Occasionally, you may find the need to install other versions of
the XSL stylesheets as some projects reference a specific
version. One example is BLFS-6.0, which required the 1.67.2
version. In these instances you should install any other required
version in its own versioned directory and create catalog entries
as follows (substitute the desired version number for <version>):
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/<version>" \
"/usr/share/xml/docbook/xsl-stylesheets-<version>" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/<version>" \
"/usr/share/xml/docbook/xsl-stylesheets-<version>" \
/etc/xml/catalog
Last updated on 2010-02-26 22:26:03 +0000