{
    "mode": "man",
    "parameter": "update-xmlcatalog",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/update-xmlcatalog/8/json",
    "generated": "2026-07-05T15:54:59Z",
    "synopsis": "update-xmlcatalog --add --root --package package --type type --id id\nupdate-xmlcatalog --del --root --package package --type type --id id\nupdate-xmlcatalog --add --package package --local local --type type --id id\nupdate-xmlcatalog --del --package package --local local --type type --id id\nupdate-xmlcatalog --add --local local --file file --type type --id id\nupdate-xmlcatalog --del --local local --file file --type type --id id",
    "sections": {
        "NAME": {
            "content": "update-xmlcatalog - maintain XML catalog files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "update-xmlcatalog --add --root --package package --type type --id id\n\nupdate-xmlcatalog --del --root --package package --type type --id id\n\nupdate-xmlcatalog --add --package package --local local --type type --id id\n\nupdate-xmlcatalog --del --package package --local local --type type --id id\n\nupdate-xmlcatalog --add --local local --file file --type type --id id\n\nupdate-xmlcatalog --del --local local --file file --type type --id id\n",
            "subsections": [
                {
                    "name": "update-xmlcatalog --help",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "update-xmlcatalog add entries to and removes entries from the root XML catalog file, a\npackage XML catalog file or a local XML catalog file.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--add",
                    "content": "Adds the entry to the root XML catalog file, a package XML catalog file or a local XML\ncatalog file.  If the XML catalog file does not exist yet, it is automatically created.\n",
                    "long": "--add"
                },
                {
                    "name": "--del",
                    "content": "Deletes the entry from the root XML catalog file, the package XML catalog file or the\nlocal XML catalog file.  A resulting empty XML catalog is not automatically deleted from\nthe filesystem.\n\n--file file\nIndicates a local filename.\n\n--id id\nIndicates the XML catalog file entry identifier.\n\n--local local\nIndicates a local XML catalog file.\n\n--package package\nIndicates a package XML catalog file.\n",
                    "long": "--del"
                },
                {
                    "name": "--root",
                    "content": "Indicates the root XML catalog file.\n\n--type type\nIndicates the XML catalog file entry type (public, system, uri).\n",
                    "long": "--root"
                },
                {
                    "name": "--help",
                    "content": "Displays the usage information.\n",
                    "long": "--help"
                },
                {
                    "name": "--verbose",
                    "content": "Optional switch to make a verbose output.\n",
                    "long": "--verbose"
                },
                {
                    "name": "--sort",
                    "content": "Optional switch to sort the manipulated catalog content.\n\nTip: To sort a catalog without adding or removing an item, just add an already existing\nitem to the catalog.\n",
                    "long": "--sort"
                }
            ]
        },
        "NOTES": {
            "content": "update-xmlcatalog is the de-facto standard tool to be used to maintain XML catalog files on a\nDebian system, similar to that update-catalog(8) is the standard tool to be used to main SGML\ncatalog files on a Debian system.  A Debian XML Policy document to this effect is currently\nunder development.\n\nupdate-xmlcatalog and xmlcatalog(1) are incompatible.  The former has an internal database of\nall the entries in all the XML catalog files it maintains and regenerates the indicated XML\ncatalog file completely from scratch upon an update.  The latter updates the indicated XML\ncatalog file directly.  This means that any change made to an XML catalog file using\nxmlcatalog(1) is overwritten the next time that XML catalog file is updated using update-\nxmlcatalog.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "/usr/share/doc/xml-core/README.Debian\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Ardo van Rangelrooij <ardo@debian.org>\n\n\n\nperl v5.28.1                                 2019-02-27                         UPDATE-XMLCATALOG(8)",
            "subsections": []
        }
    },
    "summary": "update-xmlcatalog - maintain XML catalog files",
    "flags": [
        {
            "flag": "",
            "long": "--add",
            "arg": null,
            "description": "Adds the entry to the root XML catalog file, a package XML catalog file or a local XML catalog file. If the XML catalog file does not exist yet, it is automatically created."
        },
        {
            "flag": "",
            "long": "--del",
            "arg": null,
            "description": "Deletes the entry from the root XML catalog file, the package XML catalog file or the local XML catalog file. A resulting empty XML catalog is not automatically deleted from the filesystem. --file file Indicates a local filename. --id id Indicates the XML catalog file entry identifier. --local local Indicates a local XML catalog file. --package package Indicates a package XML catalog file."
        },
        {
            "flag": "",
            "long": "--root",
            "arg": null,
            "description": "Indicates the root XML catalog file. --type type Indicates the XML catalog file entry type (public, system, uri)."
        },
        {
            "flag": "",
            "long": "--help",
            "arg": null,
            "description": "Displays the usage information."
        },
        {
            "flag": "",
            "long": "--verbose",
            "arg": null,
            "description": "Optional switch to make a verbose output."
        },
        {
            "flag": "",
            "long": "--sort",
            "arg": null,
            "description": "Optional switch to sort the manipulated catalog content. Tip: To sort a catalog without adding or removing an item, just add an already existing item to the catalog."
        }
    ],
    "examples": [],
    "see_also": []
}