put attribs in own file, proper xml headers, problem: spurious tags