xmlcatmgr

Manage SGML and XML catalogs for document processing

brewmacoslinux
Try with needOr install directly
Source

About

Manipulate SGML and XML catalogs

Commands

xmlcatmgr

Examples

add a catalog entry to the main catalog$ xmlcatmgr -c /etc/xml/catalog add PUBLIC "//My Org//My DTD//EN" "/path/to/my.dtd"
remove a catalog entry by its identifier$ xmlcatmgr -c /etc/xml/catalog remove PUBLIC "//My Org//My DTD//EN"
list all entries in an XML catalog file$ xmlcatmgr -c /etc/xml/catalog list
create a new catalog and add system identifier mapping$ xmlcatmgr -c /etc/xml/mycatalog.xml create && xmlcatmgr -c /etc/xml/mycatalog.xml add SYSTEM "custom.dtd" "/usr/share/xml/custom.dtd"
resolve an entity using a specific catalog$ xmlcatmgr -c /etc/xml/catalog lookup PUBLIC "//My Org//My DTD//EN"