{
    "content": [
        {
            "type": "text",
            "text": "# XML::XPath::Node::Attribute (perldoc)\n\n## NAME\n\nAttribute - a single attribute\n\n## Sections\n\n- **NAME**\n- **API**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::XPath::Node::Attribute",
        "section": "",
        "mode": "perldoc",
        "summary": "Attribute - a single attribute",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "API",
                "lines": 24,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}