Architecting and designing : XML schema design : The XML diagram : Importing/exporting XML documents : Exporting XML documents
  
Exporting XML documents
An XML instance document can be exported, or generated. This will assist with the verification of the DTD or schema designs that you are creating. Generation takes place from the current open diagram. An XML document is created that can be validated by the DTD or the schema that would be generated from that diagram. The ability to create and view actual instance documents is useful for all XML development.
To export an XML document
1 Right click in the diagram workspace to open the Diagram menu, or click File on the main toolbar.
2 Select Export > XML Document.
3 Select the export options in the Export XML Options dialog box, and then click OK.
See also
Importing/exporting XML documents