NAME
XML::LibXML::Augment - extend XML::LibXML::{Attr,Element,Document} on a
per-namespace/element basis
SYNOPSIS
{
package Local::Element::Bar;
use 5.010;
use strict;
use warnings;
use XML::LibXML::Augment -names => ['{http://example.com/}bar'];
sub tellJoke
{
say q{A man walked into a bar.};
say q{"Ouch," he said.};
say q{It was an iron bar.};
}
}
{
package main;
use 5.010;
use strict;
use warnings;
use XML::LibXML::Augment;
my $doc = XML::LibXML->load_xml(string => <<'XML');