Use the Select Root window to select a root element in
the XML schema document that you want to use to generate
sample XML. You can also use this window to select the
root element in an XML schema document to use to create
an annotated XML schema.
To open the Select Root window:
For generating sample XML: In the DB2 XML Designer
window, select an XML schema, and then click Generate
Sample.
For annotating an XML schema document: In the Select
XML Schema Source window, select an XML document, and then
click OK.
In both cases, the Select Root window opens if the XML schema
that you select contains more than one root element.
Select a root for sample XML generation
(when opened through the DB2 XML Designer window)
Shows the root elements in the XML schema document that you
selected. Select the root element that you want to use for
generating the sample XML.
Select a root for XML schema annotation
(when opened after the Select XML Schema Source window)
Shows the root elements in the XML schema document that you
selected. Select the root element that contains the
subelements that you want to annotate.