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::Element(3) User Contributed Perl Documentation XML::XPath::Node::Element(3)

Element - an <element>

Create a new Element node with name "name" and prefix "prefix". The name be "prefix:local" if prefix is defined. I know that sounds weird, but it works ;-)

Returns the name (including "prefix:" if defined) of this element.

Returns just the local part of the name (the bit after "prefix:").

Returns the children of this element. In list context returns a list. In scalar context returns an array ref.

Returns the child at position pos.

Appends the child node to the list of current child nodes.

Removes the supplied child node from the list of current child nodes.

Returns the attribute node with key name.

Returns the attribute nodes. In list context returns a list. In scalar context returns an array ref.

Appends the attribute node to the list of attributes (XML::XPath stores attributes in order).

Returns the namespace node by the given prefix

Returns the namespace nodes. In list context returns a list. In scalar context returns an array ref.

Appends the namespace node to the list of namespaces.

Returns the prefix of this element

Returns the expanded name of this element (not yet implemented right).

For elements, the string_value is the concatenation of all string_values of all text-descendants of the element node in document order.

Output (and all children) the node to a string. Doesn't process children if the norecurse option is a true value.
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.