in reply to Perl and XPath.
use XML::Rules; my $parser = XML::Rules->new( rules => { message => sub { print $_[1]->{author}, "\n\n"; } } ); $parser->parse('pm.xml');
Oh, you wanted XPath, never mind ;-)
In Section
Seekers of Perl Wisdom
in reply to Perl and XPath.
use XML::Rules; my $parser = XML::Rules->new( rules => { message => sub { print $_[1]->{author}, "\n\n"; } } ); $parser->parse('pm.xml');
Oh, you wanted XPath, never mind ;-)