Architecting and designing > XML schema design > The XML diagram
  
The XML diagram
The XML diagram allows you to design and draw the hierarchical structure of an XML schema.
Creating a new XML diagram
When you create a new XML diagram, you are required to specify the XML Schema that the diagram represents. After it is specified, you can view the schema in the XML diagram properties.
See also Creating a new XML diagram.
Graphically designing a schema
A toolbar and Draw menu on the XML diagram provides you with tools to draw element, attribute, and group symbols, and to draw element entity symbols (see XML external entity (DTDs only)) and attribute entity symbols (see XML attribute entity (DTDs only)) to represent parameter entities. These artifacts, such as notations, external entities, text entities, and general entities, exist solely as definitions. To associate these definitions with an XML diagram and subsequent schema design, you specify the XML schema that the diagram represents within the definition of the particular artifact, that is notation.
Validating graphical schema designs
Validate schema designs by running the rules check from the Reports menu.
See XML rules checking.
Generating schemas
Generate Biztalk compatible schemas from an XML diagram. The diagram must be open and in focus. The schema will reflect all graphical design information on the diagram, and any associated non-graphical definitions that are associated with the XML schema for the diagram.
See Exporting BizTalk schemas.
Reverse engineering schemas
You can reverse engineer existing BizTalk schema designs into an open XML diagram. The diagram must be open and in focus.
See also BizTalk.
See also
XML diagram properties
XML schema
Definition and symbol properties
XML rules checking
Importing/exporting schemas
Importing/exporting XML documents
XML schema design