Skip to content

yob/onix-dtd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== 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://github.com/yob/onix-dtd.git
  cd onix-dtd
  git-buildpackage

== 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
approach:

  mkdir -p /usr/local/etc/xml/catalog
  git clone git://github.com/yob/onix-dtd.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"

About

A debian package containing various ONIX DTDs

Resources

Stars

Watchers

Forks

Packages

No packages published