finish off XML tab (closes #131)