Help for this page

Select Code to Download


  1. or download this
    $doc->findnodes('foo')
    
  2. or download this
    $doc->findnodes('seg/foo')
    
  3. or download this
    $doc->findnodes('/seg/foo')
    
  4. or download this
    $foo->findnodes('text()')
    
  5. or download this
    join('', map { $_->toString() } $foo_node->childNodes)
    
  6. or download this
    join('', $foo_node->childNodes)
    
  7. or download this
    $foo->findvalue('@mid')
    
  8. or download this
    $foo->getAttribute('mid')
    
  9. or download this
    use strict;
    use warnings qw( all );
    ...
       my $inner_xml = join('', $foo_node->childNodes);
       say "$mid $inner_xml";
    }