XML::XPath::Node::Attribute

Section: User Contributed Perl Documentation (3)
Updated: 2021-01-27
Page Index
 

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.


 

Index

NAME
API
new ( key, value, prefix )
getName
getLocalName
getNodeValue / getData
setNodeValue
getPrefix
getNamespace
toString