Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: debian
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (22 sloc) 1.115 kB
== Overview
This is a debian package that installs local copies of the DTDs for commonly
seen ONIX files. These DTDs are registered in the system XML catalog, allowing
libraries like libxml2 to use the local cached copies of the DTDs instead of
downloading them over and over.
This a niche package and I won't make any attempt to get it added to the debian
archive. If you need it, best to build and install it yourself. The package in
arch:all, so should install on both 32 and 64 bit systems as is.
== Building
git clone git://
cd onix-dtd
== Installing
dpkg -i onix-dtd_1.0_all.deb
== Mac OS X and other UNIX environments
You can use this package by manually installing the XML catalog. Here's one
mkdir -p /usr/local/etc/xml/catalog
git clone git:// /usr/local/etc/xml/catalog/onix
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog/onix/catalog.xml
For a more permanent result, add to your bash profile script:
export XML_CATALOG_FILES="/usr/local/etc/xml/catalog/onix/catalog.xml $XML_CATALOG_FILES"
Jump to Line
Something went wrong with that request. Please try again.