Generation of XML from class Diagram

I am trying to generate a XML instance from a class diagram. So I did go through the tutorial and have gone through the process of creating the XSD. But how do I set the RootElement for the Schema. Can I do this from my class diagram or is something I have to do manually? ie manually edit the VP generated XSD

Bharath Achanta

Hello Bharath Achanta,

Thank you for your message. I’m sorry that I’m not fully understand what you mean by “set the RootElement for the Schema”. Would you mind tell me more details about what you want to do with the root element?

Best regards,
Rain Wong