in reply to getAttribute() of XML::XPath::Node
I did not find getAttribute() method defined in XML::XPath::Node module.Oh, but it is there.
That is a stub, because the node class is not intended to be used directly. It is the motherclass (or superclass or parent class) for all the different element types. You will always get an instance of XML::XPath::Node::Element, XML::XPath::Node::Comment etc. Try print ref($node), "\n"; and see what it says.sub getAttribute { return; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: getAttribute() of XML::XPath::Node
by Herkum (Parson) on Jan 22, 2009 at 18:24 UTC |