The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::TreeBuilder::LibXML::Node - HTML::Element compatible API for HTML::TreeBuilder::LibXML

SYNOPSIS

  my $value = $node->attr('name');
  my $string = $node->string_value;
  my $text   = $node->as_text;
  my $t_text = $node->as_trimmed_text;
  my $xml    = $node->as_XML;
  my $html   = $node->as_HTML;
  my $tag    = $node->tag;
  my $id     = $node->id;
  my $clone  = $node->clone;
  $node->delete;
  $node->look_down(@args);
  my %attr   = $node->all_attr;
  my %attr   = $node->all_external_attr;
  my @names  = $node->all_attr_names;
  my @names  = $node->all_external_attr_names;

  # HTML::TreeBuilder::XPath
  my @nodes  = $node->findnodes($xpath);
  my $value  = $node->findvalue($xpath);
  $node->isTextNode;
  my $child = $node->getFirstChild;