What's your data source? You can generate dcr xml from that data source using various transformation mechanisms and then set the extended attributes for the file. There can be multiple ways to implement this functionality. Can you elaborate more on your requirements?
thanks nipper!But here is need to create the xml through. Is there a way you just give the Templating Type and you get a xml created?If i hardcode the xml, any changes in future in the template will have to be taken care in the xml as well. any thoughts?