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

GwenDragon
 2014-11-03 11:48
#178065 #178065
User since
2005-01-17
14510 Artikel
Admin1
[Homepage]
user image
Du musst die Methode korrekt schreiben. ;)

Laut Dokumentation von CPAN:XML::LibXML::Element gibt es
https://metacpan.org/pod/distribution/XML-LibXML/lib/XML/LibXML/Element.pod#getAttribute
getAttribute

$avalue = $node->getAttribute( $aname );

If $node has an attribute with the name $aname, the value of this attribute will get returned.


Damit gehts.
die Drachin, Gwendolyn


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

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