%@ page language="C#" masterpagefile="~/templates/Documentation.master"
inherits="Page"
pagetitle="Specifying a Target Structure"
keywords="Specifying a Target Structure"%> Home >Online Product Documentation >Table of Contents >Specifying a Target Structure
There are two ways to specify an XQuery target structure:
This section covers the following topics:
See Modifying the Target Structure to learn about the types of changes you can make to a target structure.
The Open dialog box appears.
The structure of the document you select appears in the target document pane of the Mapper tab.
To build a target structure from scratch, you first create a root element, and then define child elements and attributes as needed.
The target document shortcut menu appears.
The Name dialog box appears.
Specifying a Target Structure
Using an Existing Document
To use an existing document to provide the XQuery target structure:
Building a Target Structure
How to create a root element
To create a root element:
The root element you specified appears in the target document pane of the Mapper tab.
The target document shortcut menu appears.
The Name dialog box appears.
The node you specified is added to the target structure in the Mapper tab.