Subject: | documentation issue |
In the XML::LibXML:::Node mapage the documentation concerning lookupNamespaceURI and lookupNamespacePrefix is incorrect. Instead of
$nsnode = $node->lookupNamespaceURI( $URI );
$nsnode = $node->lookupNamespacePrefix( $prefix );
it should be:
$uri = $node->lookupNamespaceURI( $prefix );
$prefix = $node->lookupNamespacePrefix( $uri );