Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Ubuntu 9.04

(Jaunty Jackalope)

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


XPath::Node::Attribute

XPath::Node::Attribute

NAME
API

NAME

Attribute − 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.



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