Help for this page

Select Code to Download


  1. or download this
    my $xpath = 'BoringNode[1]/InterestingNode[@InterestingAttribute="outg
    +rabe"]/AnotherBoringNode[5]';
    $xpath =~ s|\/(.*?)$||;
    print $xpath . "\n";
    
  2. or download this
    BoringNode[1]/InterestingNode[@InterestingAttribute="outgrabe"]