{
    "content": [
        {
            "type": "text",
            "text": "# XML::DOM::NodeList (perldoc)\n\n## NAME\n\nXML::DOM::NodeList - A node list as used by XML::DOM\n\n## DESCRIPTION\n\nThe NodeList interface provides the abstraction of an ordered collection of nodes, without\ndefining or constraining how this collection is implemented.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::DOM::NodeList",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::DOM::NodeList - A node list as used by XML::DOM",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 18,
                "subsections": [
                    {
                        "name": "Additional methods not in the DOM Spec",
                        "lines": 4
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "XML::DOM::NodeList - A node list as used by XML::DOM\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The NodeList interface provides the abstraction of an ordered collection of nodes, without\ndefining or constraining how this collection is implemented.\n\nThe items in the NodeList are accessible via an integral index, starting from 0.\n\nAlthough the DOM spec states that all NodeLists are \"live\" in that they always reflect changes\nto the DOM tree, the NodeList returned by getElementsByTagName is not live in this\nimplementation. See CAVEATS for details.\n\nMETHODS\nitem (index)\nReturns the indexth item in the collection. If index is greater than or equal to the number\nof nodes in the list, this returns undef.\n\ngetLength\nThe number of nodes in the list. The range of valid child node indices is 0 to length-1\ninclusive.\n",
                "subsections": [
                    {
                        "name": "Additional methods not in the DOM Spec",
                        "content": "dispose\nRemoves all circular references in this NodeList and its descendants so the objects can be\nclaimed for garbage collection. The objects should not be used afterwards.\n"
                    }
                ]
            }
        }
    }
}