{
    "mode": "perldoc",
    "parameter": "XML::PatAct::MatchName",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3APatAct%3A%3AMatchName/json",
    "generated": "2026-06-13T22:59:50Z",
    "synopsis": "use XML::PatAct::MatchName;\nmy $matcher = XML::PatAct::MatchName->new();\nmy $patterns = [ 'foo' => ACTION,\n'bar/foo' => ACTION,\n... ];",
    "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"
                }
            ]
        }
    },
    "summary": "XML::PatAct::MatchName - A pattern module for matching element names",
    "flags": [],
    "examples": [],
    "see_also": []
}