Scroll to navigation

XPath::Node::Namespace(3) User Contributed Perl Documentation XPath::Node::Namespace(3)

NAME

Namespace - an XML namespace node

API

new ( prefix, expanded )

Create a new namespace node, expanded is the expanded namespace URI.

getPrefix

Returns the prefix

getExpanded

Returns the expanded URI

toString

Returns a string that you can add to the list of attributes of an element: xmlns:prefix="expanded"

2000-08-24 perl v5.16.3