in reply to Re^4: XML::Twig and handles on regex/xpath
in thread XML::Twig and handles on regex/xpath

http://search.cpan.org/grep?cpanid=MIROD&release=XML-Twig-3.38&string=starts-with&i=1&n=1&C=0
t/xmlxpath_08name.t 22:@nodes = $t->findnodes( '//*[starts-with(name(), "B")]');
http://cpansearch.perl.org/src/MIROD/XML-Twig-3.38/t/xmlxpath_08name.t

Replies are listed 'Best First'.
Re^6: XML::Twig and handles on regex/xpath
by Eythil (Acolyte) on Apr 28, 2011 at 09:04 UTC
    Thanks.

    I came up with a similar line.
    It works, but it has not the speed of the 'take all tags and filter them with a regex'-solution. (At least not with my data), so I think I will stick to that.