{
    "mode": "perldoc",
    "parameter": "XML::XPath::Node",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AXPath%3A%3ANode/json",
    "generated": "2026-07-05T13:41:52Z",
    "sections": {
        "NAME": {
            "content": "XML::XPath::Node - internal representation of a node\n",
            "subsections": []
        },
        "API": {
            "content": "The Node API aims to emulate DOM to some extent, however the API isn't quite compatible with\nDOM. This is to ease transition from XML::DOM programming to XML::XPath. Compatibility with DOM\nmay arise once XML::DOM gets namespace support.\n\nnew\nCreates a new node. See the sub-classes for parameters to pass to new().\n\ngetNodeType\nReturns one of ELEMENTNODE, TEXTNODE, COMMENTNODE, ATTRIBUTENODE,\nPROCESSINGINSTRUCTIONNODE or NAMESPACENODE. UNKNOWNNODE is returned if the sub-class doesn't\nimplement getNodeType - but that means something is broken! The constants are exported by\ndefault from XML::XPath::Node. The constants have the same numeric value as the XML::DOM\nversions.\n\ngetParentNode\nReturns the parent of this node, or undef if this is the root node. Note that the root node is\nthe root node in terms of XPath - not the root element node.\n\ntosax ( $handler | %handlers )\nGenerates sax calls to the handler or handlers. See the PerlSAX docs for details (not yet\nimplemented correctly).\n",
            "subsections": []
        },
        "MORE INFO": {
            "content": "See the sub-classes for the meaning of the rest of the API:\n\n*   XML::XPath::Node::Element\n\n*   XML::XPath::Node::Attribute\n\n*   XML::XPath::Node::Namespace\n\n*   XML::XPath::Node::Text\n\n*   XML::XPath::Node::Comment\n\n*   XML::XPath::Node::PI\n",
            "subsections": []
        }
    },
    "summary": "XML::XPath::Node - internal representation of a node",
    "flags": [],
    "examples": [],
    "see_also": []
}