Yes, that function makes sense and is documented for an XML::DOM::Element. But what ->getElementsByTagName returns is not a single XML::DOM::Element object. Please refer to the SYNOPSIS section of XML::DOM to see the correct usage.
In reply to Re^3: error : can't locate object method "getAttribute" via package XML::DOM::NodeList
by Corion
in thread error : can't locate object method "getAttribute" via package XML::DOM::NodeList
by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |