Make xsltea.forms correctly handle attributes