Help for this page

Select Code to Download


  1. or download this
      foreach my $child ($obj->children()) {
        next unless $child->name eq 'paragraph';
        # code goes here
      }
    
  2. or download this
      foreach my $child ($obj->children()) {
        next unless $child->name eq 'page';
        foreach my $grandchild ($child->children()) {
    ...
          # code goes here
        }
      }
    
  3. or download this
      foreach my $para ($obj->match('paragraph')) {
        # code goes here
      }
    
  4. or download this
      foreach my $header ($obj->match('/page/header')) {
        # code goes here
      }