#!/usr/bin/env perl
use strict;
use warnings;
use XML::LibXML;
my $dom = XML::LibXML->load_xml(string => <<'EOT');
0600
1030
Boston
US
Belgian Waffles
$5.95
Two of ...
650
Strawberry Belgian Waffles
$7.95
Light Belgian ...
900
test after breakfast
EOT
my $root = $dom->getDocumentElement();
for ($root->findnodes('/restaurant/*')) {
next if 0 == index($_, '');
print "$_\n";
}