DocBook XSL-NS Stylesheets

From CBLFS
Revision as of 12:33, 15 May 2010 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://sourceforge.net/projects/docbook/files/docbook-xsl-ns/1.75.2/docbook-xsl-ns-1.75.2.tar.bz2/download

Introduction to DocBook XSL-NS Stylesheets

The DocBook XSL-NS Stylesheets package contains XSL-NS (namespaced) stylesheets. These are useful for performing transformations on namespaced XML DocBook files.

Project Homepage: Unknown

Dependencies

Required

Non-Multilib or Multilib

Install DocBook XSL-NS Stylesheets by running the following commands:

install -v -m755 -d /usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2 &&
cp -v -R VERSION common eclipse extensions fo highlighting html \
         htmlhelp images javahelp lib manpages params \
         profiling slides template website xhtml \
    /usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2

Create (or append) and populate the XML catalog file using the following commands:

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-ns/1.75.2" \
           "/usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl-ns/1.75.2" \
           "/usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
           "http://docbook.sourceforge.net/release/xsl-ns/current" \
           "/usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
           "http://docbook.sourceforge.net/release/xsl-ns/current" \
           "/usr/share/xml/docbook/xsl-ns-stylesheets-1.75.2" \
    /etc/xml/catalog