Jabber-Connection

 view release on metacpan or  search on metacpan

lib/Jabber/NodeFactory.pm  view on Meta::CPAN


  my $node = {
               name   => $name,
               attrs  => {},
               data   => '',
               kids   => [],
               parent => $parent,
             };

  weaken($node->{parent}); # XXX
  bless $node => $class;
  $node->attr('xmlns' => $xmlns) if $xmlns;
  return $node;

}


=item name()

Returns the name (the tag name) of the node, in the form of a string.

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.014 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )