Thread [XML::LibXML] node->GetAttribute funktioniert nicht (11 answers)
Opened by ariser at 2014-11-02 22:55

GwenDragon
 2014-11-03 19:30
#178081 #178081
User since
2005-01-17
14510 Artikel
Admin1
[Homepage]
user image
Quote
Can't locate object method "GetAttribute" via package "XML::LibXML::Element"
Wieso ist denn das einen-Holzweg-erzeugend?

Wenn du in der Doku zu XML::LibXML::Element nachsiehst, merkst du dass dort kein GetAttribute existiert ;)

perldoc XML::LibXML::Element | grep GetAttribute

perldoc XML::LibXML::Element | grep getAttribute
$avalue = $node->getAttribute( $aname );
$avalue = $node->getAttributeNS( $nsURI, $aname );
$attrnode = $node->getAttributeNode( $aname );
$attrnode = $node->getAttributeNodeNS( $namespaceURI, $aname );
getAttribute
$avalue = $node->getAttribute( $aname );
getAttributeNS
$avalue = $node->getAttributeNS( $nsURI, $aname );
getAttributeNode
$attrnode = $node->getAttributeNode( $aname );
getAttributeNodeNS
$attrnode = $node->getAttributeNodeNS( $namespaceURI, $aname );
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread [XML::LibXML] node->GetAttribute funktioniert nicht