%@ page language="C#" masterpagefile="~/templates/Documentation.master"
inherits="Page"
pagetitle="Modifying the Target Structure"
keywords="Modifying the Target Structure"%> Home >Online Product Documentation >Table of Contents >Modifying the Target Structure
This section describes the techniques you can use to modify the structure and content of an XQuery mapper target structure. It covers the following topics:
See How to create elements and attributes.
Before you can remove a node, you must delete any links to that node. See Removing Source-Target Map.
Alternative: Right-click the node and select Remove Node from the shortcut menu.
You can set text values for target structure elements and attributes. You might want to do this if you are composing an XQuery with an element or attribute that requires a fixed value, instead of using a value gathered from an input XML document.
Here is the XQuery code Stylus Studio generates for the
Stylus Studio displays a red letter T for nodes for which you define a text value:
The shortcut menu appears.
The Value dialog box appears.
Modifying the Target Structure
Adding a Node
Removing a Node
To remove a node from the target structure:
Setting a Text Value
Title element when a text value is specified for it:
.
To set a text value for a target structure node: