|
Home >Online Product Documentation >Table of Contents >Modifying the Target Structure Modifying the Target StructureThis section describes the techniques you can use to modify the structure and content of an XQuery mapper target structure. It covers the following topics: Adding a NodeSee How to create elements and attributes. Removing a Node
To remove a node from the target structure:
1. Remove any links to the node you want to remove from the target structure. See Removing Source-Target Map if you need help with this step.
2. Select the node and press the Delete key.
Alternative: Right-click the node and select Remove Node from the shortcut menu. Setting a Text ValueYou 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: To set a text value for a target structure node:
1. Right-click the node for which you want to set the text value.
The shortcut menu appears.
2. Select Set Text Value from the shortcut menu.
The Value dialog box appears.
3. Type the string you want to use as the text value and click OK.
|
Food & Beverage Services
"I'll have a burger and a side of Stylus Studio", says these top food & beverage services that use Stylus Studio in everyday operations. Come see which food & beverage services eat up the idea of having the most powerful XML IDE at their finger tips!
XML Development Blogs
Blogging is the hottest fad on the Internet and Stylus Studio has jumped on the bandwagon. Bookmark these XML Blogs to keep up with all the latest XML buzz in the internet blogosphere. Includes RSS and Atom Feeds!
Metals, Mining & Crude-Oil Production
It can be very dark and dreary in a mine. That's why metal, mining & crude-oil production are using Stylus Studio as their light when it comes to data integration. See which of these top companies are using Stylus Studio to show them the way to XML!
Convert DTD to XML
Learn how to create a sample XML instance document from a DTD using Stylus Studio DTD to XML conversion tools.



