Hi David,
On Mon Dec 29 07:04:58 2014, davidegx@gmail.com wrote:
Show quoted text> Hi,
>
> Reading
https://metacpan.org/pod/XML::LibXML::Attr I don't see any method
> to get the name of a xml attribute.
> However "name" and "getName" work as I would expect so I guess that is a
> lack on the documentation.
> ( Otherwise I'm using private methods and I don't know how to get the name
> :( )
->name() is an alias to XML::LibXML::Node::localname() and is documented in
https://metacpan.org/pod/XML::LibXML::Node which is referenced in the comment at the top of
https://metacpan.org/pod/XML::LibXML::Attr#SYNOPSIS . Similarly ->getName() is an alias to XML::LibXML::Node::nodeName which is also documented there. They do different things.
Can I close this bug?
Regards,
-- Shlomi Fish
Show quoted text>
>
> Best Regards,
> David EG