Divide into semantically meaningful templates
parsing xml to get a data value and show in alert
working with one variable substitution