You have to define the template attributes under "Properties -> Advanced". This tells OpenCms which template is used to show the content. Look at /xmlcontent/ folder advanced properties for an example.