{
    "mode": "perldoc",
    "parameter": "XML::XPath::Node::Attribute",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AXPath%3A%3ANode%3A%3AAttribute/json",
    "generated": "2026-06-12T00:45:33Z",
    "sections": {
        "NAME": {
            "content": "Attribute - a single attribute\n",
            "subsections": []
        },
        "API": {
            "content": "new ( key, value, prefix )\nCreate a new attribute node.\n\ngetName\nReturns the key for the attribute\n\ngetLocalName\nAs getName above, but without namespace information\n\ngetNodeValue / getData\nReturns the value\n\nsetNodeValue\nSets the value of the attribute node.\n\ngetPrefix\nReturns the prefix\n\ngetNamespace\nReturn the namespace.\n\ntoString\nGenerates key=\"value\", encoded correctly.\n",
            "subsections": []
        }
    },
    "summary": "Attribute - a single attribute",
    "flags": [],
    "examples": [],
    "see_also": []
}