Help for this page

Select Code to Download


  1. or download this
    # LibXML lingo; XPath expr is off the cuff, untested
    $doc->findvalue('/section[last()]/title[1]/@num');
    
  2. or download this
    $doc->root(sub {
        $_->last_child( 'section', sub {
    ...
            })
       })
    });