User Guide > Using Transformations > Creating an XQuery Transformation > Specifying the Source for a Top-Level Element
 
Specifying the Source for a Top-Level Element
Top-level elements (which have leaf nodes under them) have white cells in the Source column corresponding to their rows. The Source column (available for tables) lets you specify the tabular sources that provide data for the resulting XML document. Each source specified in this column corresponds to a top-level element (non-leaf node) in the target schema.
To specify the source for a top-level element
1. Double-click the cell corresponding to a top-level element in the Target column; or select its top-level element in the Target column.
2. Click the Choose Source toolbar button).
3. In the Choose a Table or Procedure window that opens, select the source.