use XML::XPath; my $XML = XML::XPath.new(xml => q:to/END/);
Invisibility Cream 14.50 Makes you invisible Levitation Salve 23.99 Levitate yourself for up to 3 hours per application
Blork and Freen Instameal 4.95 A tasty meal in a tablet; just add water Grob winglets 3.56 Tender winglets of Grob. Just add water
END put "First item:\n", $XML.find('//item[1]')[0]; put "\nPrice elements:"; .contents.put for $XML.find('//price').List; put "\nName elements:\n", $XML.find('//name')ยป.contents.join: ', ';