Matt Sergeant > XML-XPath > XML::XPath::Node::Namespace

Download:
XML-XPath-1.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  36
Open  1
View/Report Bugs
Source  

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"

syntax highlighting: