include "libdom.sol" xml exo customer name = "A" "2356" /customer customer name = "B" "-25" /customer /xml print "Adding content of elements..." dom x = dom() x.build() int sum x.customer.at() ` points out first customer text t while x.found() t = x.getData() ` reads content, converts and add it sum + t.toInt() ` converts and add it let x.inc() ` next customer print "sum of elements=", sum