logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Attribute - a single attribute

Contents

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.

perl v5.34.0                                       2022-08-13                   XML::XPath::Node::Attribute(3pm)

Name

       Attribute - a single attribute

See Also