GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XML::XPath::Node(3) User Contributed Perl Documentation XML::XPath::Node(3)

XML::XPath::Node - internal representation of a node

The Node API aims to emulate DOM to some extent, however the API isn't quite compatible with DOM. This is to ease transition from XML::DOM programming to XML::XPath. Compatibility with DOM may arise once XML::DOM gets namespace support.

Creates a new node. See the sub-classes for parameters to pass to new().

Returns one of ELEMENT_NODE, TEXT_NODE, COMMENT_NODE, ATTRIBUTE_NODE, PROCESSING_INSTRUCTION_NODE or NAMESPACE_NODE. UNKNOWN_NODE is returned if the sub-class doesn't implement getNodeType - but that means something is broken! The constants are exported by default from XML::XPath::Node. The constants have the same numeric value as the XML::DOM versions.

Returns the parent of this node, or undef if this is the root node. Note that the root node is the root node in terms of XPath - not the root element node.

Generates sax calls to the handler or handlers. See the PerlSAX docs for details (not yet implemented correctly).

See the sub-classes for the meaning of the rest of the API:
  • XML::XPath::Node::Element
  • XML::XPath::Node::Attribute
  • XML::XPath::Node::Namespace
  • XML::XPath::Node::Text
  • XML::XPath::Node::Comment
  • XML::XPath::Node::PI
2018-10-11 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.