UPDATE-XMLCATALOG(8)
β¨ UPDATE-XMLCATALOG(8) β¨
okay bestie, welcome to the xml-core manual page for update-xmlcatalog π she's the girl who keeps your XML catalog files cute and correct, and honestly? she ate.
update-xmlcatalog β maintain XML catalog files
πΈ 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 π¦
so basically β¨ update-xmlcatalog adds entries to and removes entries from the root XML catalog file, a package XML catalog file, or a local XML catalog file. that's the whole assignment and she does it flawlessly, no cap π
π OPTIONS π
--addβ adds the entry to the root XML catalog file, a package XML catalog file, or a local XML catalog file. and listen π if the XML catalog file doesn't exist yet, it gets automatically created. she's proactive like that π--delβ deletes the entry from the root XML catalog file, the package XML catalog file, or the local XML catalog file. heads up though: if the XML catalog ends up empty, it is not automatically deleted from the filesystem. she leaves it there, just sitting pretty, existing π--filefile β indicates a local filename.--idid β indicates the XML catalog file entry identifier.--locallocal β indicates a local XML catalog file.--packagepackage β indicates a package XML catalog file.--rootβ indicates the root XML catalog file.--typetype β indicates the XML catalog file entry type (public,system,uri).--helpβ displays the usage information. your little cheat sheet, bestie π«Ά--verboseβ optional switch to make a verbose output. she'll tell you everything that's happening, main character energy fr π£--sortβ optional switch to sort the manipulated catalog content. organized queen π
Tip: to sort a catalog without adding or removing an item, just add an already existing item to the catalog. sneaky but it works, iykyk π€«
π§ NOTES π§
update-xmlcatalog is the de-facto standard tool to be used to maintain XML catalog files on a Debian system β similar to how update-catalog(8) is the standard tool to be used to main SGML catalog files on a Debian system. and ooh π a Debian XML Policy document to this effect is currently under development. watch this space β
update-xmlcatalog and xmlcatalog(1) are incompatible. like, they do not get along, it's giving exes π here's the tea:
- the former (
update-xmlcatalog) has an internal database of all the entries in all the XML catalog files it maintains, and it regenerates the indicated XML catalog file completely from scratch upon an update. - the latter (
xmlcatalog(1)) updates the indicated XML catalog file directly.
which means: any change made to an XML catalog file usingxmlcatalog(1)is overwritten the next time that XML catalog file is updated usingupdate-xmlcatalog. gone. deleted. she said fresh start bestie π
π SEE ALSO π
/usr/share/doc/xml-core/README.Debian
π AUTHOR π
Ardo van Rangelrooij <ardo@debian.org>
and that's the whole page, bestie!! πΈ stay slay, keep those catalogs tidy, and remember: this was rendered by perl v5.40.1, dated 2026-07-03, for the iconic UPDATE-XMLCATALOG(8) manual. periodt. π
β¨π
π¦ where this page comes from
- ubuntu stonking: xml-core 0.21 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms