SYNOPSIS

update-xmlcatalog --add --root --package package --type type --id id

update-xmlcatalog --del --root --package package --type type --id id

update-xmlcatalog --add --package package --local local --type type --id id

update-xmlcatalog --del --package package --local local --type type --id id

update-xmlcatalog --add --local local --file file --type type --id id

update-xmlcatalog --del --local local --file file --type type --id id

update-xmlcatalog --help

DESCRIPTION

update-xmlcatalog add entries to and removes entries from the root \s-1XML\s0 catalog file, a package \s-1XML\s0 catalog file or a local \s-1XML\s0 catalog file.

OPTIONS

--add

Adds the entry to the root \s-1XML\s0 catalog file, a package \s-1XML\s0 catalog file or a local \s-1XML\s0 catalog file. If the \s-1XML\s0 catalog file does not exist yet, it is automatically created.

--del

Deletes the entry from the root \s-1XML\s0 catalog file, the package \s-1XML\s0 catalog file or the local \s-1XML\s0 catalog file. A resulting empty \s-1XML\s0 catalog is not automatically deleted from the filesystem.

--file file

Indicates a local filename.

--id id

Indicates the \s-1XML\s0 catalog file entry identifier.

--local local

Indicates a local \s-1XML\s0 catalog file.

--package package

Indicates a package \s-1XML\s0 catalog file.

--root

Indicates the root \s-1XML\s0 catalog file.

--type type

Indicates the \s-1XML\s0 catalog file entry type (public, system, uri).

--help

Displays the usage information.

NOTES

update-xmlcatalog is the de-facto standard tool to be used to maintain \s-1XML\s0 catalog files on a Debian system, similar to that update-catalog\|(8) is the standard tool to be used to main \s-1SGML\s0 catalog files on a Debian system. A Debian \s-1XML\s0 Policy document to this effect is currently under development.

update-xmlcatalog and xmlcatalog\|(1) are incompatible. The former has an internal database of all the entries in all the \s-1XML\s0 catalog files it maintains and regenerates the indicated \s-1XML\s0 catalog file completely from scratch upon an update. The latter updates the indicated \s-1XML\s0 catalog file directly. This means that any change made to an \s-1XML\s0 catalog file using xmlcatalog\|(1) is overwritten the next time that \s-1XML\s0 catalog file is updated using update-xmlcatalog.

RELATED TO update-xmlcatalog…

/usr/share/doc/xml-core/README.Debian

AUTHOR

Ardo van Rangelrooij <[email protected]>