DocBook XSL Stylesheets-1.62.4

Introduction to DocBook XSL Stylesheets

The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.

Package information

Installation of DocBook XSL Stylesheets

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

Configuring DocBook XSL Stylesheets

Config files

/etc/xml/catalog

Configuration Information

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
If successful you should have a index.html file that will display the BLFS Book in a browser on a single page. It will be formatted by the XSL Stylesheets, so it will not match the web published BLFS book, which is formatted by DocBook DSSSL Stylesheets.

Contents

The DocBook XSL Stylesheets package contains XSL style sheets for HTML and FO.