Tree Processing
-
XML::LibXML, XML::XPath, XML::DOM, XML::EasyObj, XML::Twig
-
Load the XML into a tree
-
Navigation
- my $child= $node->getFirstChild; # DANGEROUS
- my $child= $elt->first_child( 'InvoiceDetails')
-
Queries
- my @rows= $node->getElementsByTagName( 'InvoiceRow');
- $doc->findnodes( '/Finvoice/InvoiceRow');
- $doc->findvalue( 'BuyerPartyIdentifier')
- $doc->findvalue( '/Finvoice/BuyerDetails/BuyerId')
- -