Then add the following filter within the sub
return if $_->tag !~ /^tag[123]$/; [download]
In reply to Re^3: XML::Twig and handles on regex/xpath by wind in thread XML::Twig and handles on regex/xpath by Eythil