use template.maybeXML