The DocBook XSL Stylesheets package contains XSL stylesheets. These are useful for performing transformations on XML DocBook files.
Download (HTTP): http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.65.1.tar.gz
Download size: 1.5 MB
Estimated Disk space required: 13.1 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.65.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.65.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.65.1" \
"/usr/share/xml/docbook/xsl-stylesheets-1.65.1" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/1.65.1" \
"/usr/share/xml/docbook/xsl-stylesheets-1.65.1" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-1.65.1" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-1.65.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
The DocBook XSL Stylesheets package contains XSL style sheets for HTML and FO.