---
name: "XML::XPath::Node::Namespace"
section: "3pm"
platform: "linux"
package: "perl-xml-xpath"
version: "1.49-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XML::XPath::Node::Namespace"
---

# XML::XPath::Node::Namespace(3pm)

an XML namespace node

## 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"
