XML::XPath::Node::Attribute(3pm)

XML::XPath::Node::Attribute3pm

A single attribute

API

new ( key, value, prefix )

Create a new attribute node.

getName

Returns the key for the attribute

getLocalName

As getName above, but without namespace information

getNodeValue / getData

Returns the value

setNodeValue

Sets the value of the attribute node.

getPrefix

Returns the prefix

getNamespace

Return the namespace.

toString

Generates key="value", encoded correctly.

Releases

13 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0–8
  4. 9
  5. 10–11
  6. 12–13
  7. Arch

From perl-xml-xpath 1.49-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.