using LibExpat xdoc = raw"""
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
""" debracket(s) = replace(s, r".+\>(.+)\<.+" => s"\1") etree = xp_parse(xdoc) firstshow = LibExpat.find(etree, "//item")[1] println("The first item's node XML entry is:\n", firstshow, "\n\n") prices = LibExpat.find(etree, "//price") println("Prices:") for p in prices println("\t", debracket(string(p))) end println("\n") namearray = LibExpat.find(etree, "//name") println("Array of names of items:\n\t", map(s -> debracket(string(s)), namearray))