{
    "content": [
        {
            "type": "text",
            "text": "# xpath(1p) (man)\n\n**Summary:** xpath - a script to query XPath statements in XML documents.\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -q | — | — | Be quiet. Output only errors (and no separator) on stderr. |\n| -n | — | — | Never use an external DTD, ie. instantiate the XML::Parser module with 'ParseParamEnt => 0'. |\n| -s | — | — | Place \"suffix\" at the end of each entry. Default is a linefeed. |\n| -p | — | — | Place \"prefix\" preceding each entry. Default is nothing. |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (1 lines) — 1 subsections\n  - xpath [-s suffix] [-p prefix] [-n] [-q] -e query [-e query]  (1 lines)\n- **DESCRIPTION** (12 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -q (2 lines)\n  - -n (2 lines)\n  - -s suffix (2 lines)\n  - -p prefix (2 lines)\n- **BUGS** (3 lines)\n- **SEE ALSO** (2 lines)\n- **LICENSE AND COPYRIGHT** (10 lines)\n\n## Full Content\n\n### NAME\n\nxpath - a script to query XPath statements in XML documents.\n\n### SYNOPSIS\n\n#### xpath [-s suffix] [-p prefix] [-n] [-q] -e query [-e query] ... [file] ...\n\n### DESCRIPTION\n\nxpath uses the XML::XPath perl module to make XPath queries to any XML document.  The\nXML::XPath module aims to comply exactly to the XPath specification at\n\"http://www.w3.org/TR/xpath\" and yet allows extensions to be added in the form of functions.\n\nThe script takes any number of XPath pointers and tries to apply them to each XML document\ngiven on the command line. If no file arguments are given, the query is done using \"STDIN\" as\nan XML document.\n\nWhen multiple queries exist, the result of the last query is used as context for the next\nquery and only the result of the last one is output. The context of the first query is always\nthe root of the current document.\n\n### OPTIONS\n\n#### -q\n\nBe quiet. Output only errors (and no separator) on stderr.\n\n#### -n\n\nNever use an external DTD, ie. instantiate the XML::Parser module with 'ParseParamEnt => 0'.\n\n#### -s suffix\n\nPlace \"suffix\" at the end of each entry. Default is a linefeed.\n\n#### -p prefix\n\nPlace \"prefix\" preceding each entry. Default is nothing.\n\n### BUGS\n\nThe author of this man page is not very fluant in english. Please, send him\n(fabien@tzone.org) any corrections concerning this text.\n\n### SEE ALSO\n\nXML::XPath\n\n### LICENSE AND COPYRIGHT\n\nThis module is  copyright  2000 AxKit.com Ltd. This is free software, and as such comes with\nNO WARRANTY. No dates are used in this module. You may distribute this module under the terms\nof either the Gnu GPL,  or the Artistic License (the same terms as Perl itself).\n\nFor support, please subscribe to the Perl-XML\n<http://listserv.activestate.com/mailman/listinfo/perl-xml> mailing list at the URL\n\n\n\nperl v5.28.0                                 2018-10-20                                    XPATH(1p)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xpath",
        "section": "1p",
        "mode": "man",
        "summary": "xpath - a script to query XPath statements in XML documents.",
        "synopsis": "",
        "flags": [
            {
                "flag": "-q",
                "long": null,
                "arg": null,
                "description": "Be quiet. Output only errors (and no separator) on stderr."
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "Never use an external DTD, ie. instantiate the XML::Parser module with 'ParseParamEnt => 0'."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Place \"suffix\" at the end of each entry. Default is a linefeed."
            },
            {
                "flag": "-p",
                "long": null,
                "arg": null,
                "description": "Place \"prefix\" preceding each entry. Default is nothing."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "xpath [-s suffix] [-p prefix] [-n] [-q] -e query [-e query] ... [file] ...",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-q",
                        "lines": 2,
                        "flag": "-q"
                    },
                    {
                        "name": "-n",
                        "lines": 2,
                        "flag": "-n"
                    },
                    {
                        "name": "-s suffix",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-p prefix",
                        "lines": 2,
                        "flag": "-p"
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSE AND COPYRIGHT",
                "lines": 10,
                "subsections": []
            }
        ]
    }
}