The DocBook XML DTD-4.2 package contains document type definitions for verification of XML data files against the DocBook rule set. These are useful for structuring books and software documentation to a standard allowing you to utilize transformations already written for that standard.
Download (HTTP): http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip
Download (FTP): ftp://ftp.us.sinuspl.net/pub/src/docbook-xml-4.2.zip
Download size: 84 KB
Estimated Disk space required: 468 KB
Estimated build time: 0.01 SBU
Install DocBook XML DTD by running the following commands:
install -d /usr/share/xml/docbook/xml-dtd-4.2 && cp -af docbook.cat *.dtd ent/ *.mod /usr/share/xml/docbook/xml-dtd-4.2 && if [ ! -e /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 "public" \ "-//OASIS//ELEMENTS DocBook XML Information Pool V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/dbpoolx.mod" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook XML V4.2//EN" \ "http://oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook XML Character Entities V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/dbcentx.mod" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook XML Notations V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/dbnotnx.mod" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/dbgenent.mod" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/dbhierx.mod" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/soextblx.dtd" \ /etc/xml/docbook && xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook XML CALS Table Model V4.2//EN" \ "file:///usr/share/xml/docbook/xml-dtd-4.2/calstblx.dtd" \ /etc/xml/docbook && xmlcatalog --noout --add "rewriteSystem" \ "http://www.oasis-open.org/docbook/xml/4.2" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook && xmlcatalog --noout --add "rewriteURI" \ "http://www.oasis-open.org/docbook/xml/4.2" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook XML" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook XML" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegateSystem" \ "http://www.oasis-open.org/docbook/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegateURI" \ "http://www.oasis-open.org/docbook/" \ "file:///etc/xml/docbook" /etc/xml/catalog |
The above installation script creates the files and updates the catalog. We need to make additional entries in order to process the BLFS book:
xmlcatalog --noout --add "delegateSystem" \ "/usr/share/docbook/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegateURI" \ "/usr/share/docbook/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "rewriteSystem" \ "/usr/share/docbook" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook && xmlcatalog --noout --add "rewriteURI" \ "/usr/share/docbook" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook |
In order to install ScrollKeeper or to utilize DocBook XML DTD V4.2 when V4.1.2 is requested in the System Identifier, make the following entry:
xmlcatalog --noout --add "public" \ "-//OASIS//DTD DocBook XML V4.1.2//EN" \ "http://oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ /etc/xml/docbook && xmlcatalog --noout --add "delegateSystem" \ "http://oasis-open.org/docbook/xml/4.1.2/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "delegateURI" \ "http://oasis-open.org/docbook/xml/4.1.2/" \ "file:///etc/xml/docbook" /etc/xml/catalog && xmlcatalog --noout --add "rewriteSystem" \ "http://oasis-open.org/docbook/xml/4.1.2" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook && xmlcatalog --noout --add "rewriteURI" \ "http://oasis-open.org/docbook/xml/4.1.2" \ "file:///usr/share/xml/docbook/xml-dtd-4.2" \ /etc/xml/docbook |