{
    "content": [
        {
            "type": "text",
            "text": "# DH_INSTALLXMLCATALOGS (man)\n\n## NAME\n\ndhinstallxmlcatalogs - install and register XML catalog files\n\n## SYNOPSIS\n\ndhinstallxmlcatalogs [debhelper options] [-n]\n\n## DESCRIPTION\n\ndhinstallxmlcatalogs is a debhelper program that installs and registers XML catalog files.\nIt complies with the Debian XML/SGML policy.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (1 subsections)\n- **NOTES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "DH_INSTALLXMLCATALOGS",
        "section": "",
        "mode": "man",
        "summary": "dhinstallxmlcatalogs - install and register XML catalog files",
        "synopsis": "dhinstallxmlcatalogs [debhelper options] [-n]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-n",
                "long": "--noscripts",
                "arg": null,
                "description": "Do not modify postinst/postrm/prerm scripts."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "debhelper",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/debhelper/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 43,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-n --noscripts",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--noscripts"
                    }
                ]
            },
            {
                "name": "NOTES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "dhinstallxmlcatalogs - install and register XML catalog files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "dhinstallxmlcatalogs [debhelper options] [-n]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "dhinstallxmlcatalogs is a debhelper program that installs and registers XML catalog files.\nIt complies with the Debian XML/SGML policy.\n\nThe file debian/package.xmlcatalogs lists the local XML catalog files to be installed per\npackage as well as the XML entities in those local XML catalog files that are to be\nregistered in the XML catalog system.\n\nThe local XML catalog file entries in that file should be of the form \"local;source;dest\",\nwhere the verbatim \"local\" indicates this is an entry for a local XML catalog file, \"source\"\nindicates where the local XML catalog resides in the source tree, and \"dest\" indicates the\ndestination location for the local XML catalog under the package build area.  \"dest\" should\nstart with /usr/share/xml/.\n\nThe entries for the XML entities to be registered in the package XML catalog file should be\nof the form \"package;type;id;catalog\", where the verbatim \"package\" indicates this is an\nentry for an XML entity to be registered in the package XML catalog file, \"type\" indicates\nthe XML entity type (public, system, uri), \"id\" indicates the XML entity id, and \"catalog\"\nindicates the local XML catalog file.\n\nThe entries for the XML entities to be registered in the root XML catalog file should be of\nthe form \"root;type;id\", where the verbatim \"root\" indicates this is an entry for an XML\nentity to be registered in the root XML catalog file, \"type\" indicates the XML entity type\n(public, system, uri), and \"id\" indicates the XML entity id.\n\nIf an entry for is to be registered identically in the root catalog and the package catalog\nfile, you can use the form \"root-and-package;type;id;catalog\", where the verbatim\n\"root-and-package\" indicates this is an entry for an XML entity to be registered in both the\nroot and package XML catalog files, \"type\" indicates the XML entity type (public, system,\nuri), \"id\" indicates the XML entity id, and \"catalog\" indicates the local XML catalog file.\n\nXML entity types are described in update-xmlcatalog(8).  Using the \"root\" or \"package\"\ncommands, a type of \"public\" will general \"delegatePublic\" statements in the applicable\ncatalog file. Generally you will want to use the types \"public\" for any formal public\nidentifiers, and \"system\" for any files on the local filesystem or URLs.  \"uri\" is only used\nfor non-local files which are not part of the external document subset, e.g., they are not\nused for entities or DTDs.\n\ndhinstallxmlcatalogs automatically adds maintainer script snippets for the registration and\nunregistration of the listed XML entities in the XML catalog system (unless -n is used).  A\ndependency on the xml-core package will be added to \"${misc:Depends}\", so be sure to use that\nvariable in the file debian/control.  See dhinstalldeb(1) for an explanation of Debhelper\nmaintainer script snippets.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-n --noscripts",
                        "content": "Do not modify postinst/postrm/prerm scripts.\n",
                        "flag": "-n",
                        "long": "--noscripts"
                    }
                ]
            },
            "NOTES": {
                "content": "Note that this command is not idempotent. \"dhclean -k\" should be called between invocations\nof this command. Otherwise, it may cause multiple instances of the same text to be added to\nmaintainer scripts.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "debhelper(7)\n\n/usr/share/doc/xml-core/\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Ardo van Rangelrooij <ardo@debian.org>\n\nAdam Di Carlo <aph@debian.org>\n\n\n\nperl v5.28.1                                 2019-02-27                     DHINSTALLXMLCATALOGS(1)",
                "subsections": []
            }
        }
    }
}