{
    "content": [
        {
            "type": "text",
            "text": "# XML::PatAct::MatchName (perldoc)\n\n## NAME\n\nXML::PatAct::MatchName - A pattern module for matching element names\n\n## SYNOPSIS\n\nuse XML::PatAct::MatchName;\nmy $matcher = XML::PatAct::MatchName->new();\nmy $patterns = [ 'foo' => ACTION,\n'bar/foo' => ACTION,\n... ];\n\n## DESCRIPTION\n\nXML::PatAct::MatchName is a pattern module for use with PatAct drivers for applying\npattern-action lists to XML parses or trees. XML::PatAct::MatchName is a simple pattern module\nthat uses just element names to match on. If multiple names are supplied separated by `\"/\"'\ncharacters, then all of the parent element names must match as well.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::PatAct::MatchName",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::PatAct::MatchName - A pattern module for matching element names",
        "synopsis": "use XML::PatAct::MatchName;\nmy $matcher = XML::PatAct::MatchName->new();\nmy $patterns = [ 'foo' => ACTION,\n'bar/foo' => ACTION,\n... ];",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "perl",
                        "lines": 2
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::PatAct::MatchName - A pattern module for matching element names\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use XML::PatAct::MatchName;\n\nmy $matcher = XML::PatAct::MatchName->new();\n\nmy $patterns = [ 'foo' => ACTION,\n'bar/foo' => ACTION,\n... ];\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "XML::PatAct::MatchName is a pattern module for use with PatAct drivers for applying\npattern-action lists to XML parses or trees. XML::PatAct::MatchName is a simple pattern module\nthat uses just element names to match on. If multiple names are supplied separated by `\"/\"'\ncharacters, then all of the parent element names must match as well.\n\nThe order of patterns in the list is not significant. XML::PatAct::MatchName will use the most\nspecific match. Using the synopsis above as an example, if you have an element `\"foo\"',\n`\"bar/foo\"' will match if `\"foo\"' is in an element `\"bar\"', otherwise just the pattern with\n`\"foo\"' will match.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Ken MacLeod, ken@bitsko.slc.ut.us\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "perl",
                        "content": "``Using PatAct Modules'' and ``Creating PatAct Modules'' in libxml-perl.\n"
                    }
                ]
            }
        }
    }
}