|
|
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 tcreate 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. Example
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:
How to set a text valueTo 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.
|
XML Syntax Help - Intelligent XML Editing
Stylus Studio's XML Editors feature Intelligent XML Schema/DTD-Aware Code Sensing and context sensitive XML code auto-completion. Simplify XML editing with Stylus Studio today.
Learn XQuery in 10 Minutes, by Dr. Michael Kay - An XQuery Tutorial
Learn XQuery in 10 Minutes By Dr. Michael Kay is for all those people who really want to know what XQuery is, but don't have the time to find out. It's the fastest XQuery tutorial on the planet - read it now!
The XML Primer: Editing and Validating XML in Stylus Studio
The XML primer demonstrates editing and validating XML in Stylus Studio demonstrates XML editing tools and utilities to simplify working with XML documents. Learn how to automate XML editing operations and troubleshoot XML documents today!
Insurance Companies That Use Stylus Studio
Everyone needs insurance, even insurance companies. That's why these top insurance companies are insured when it comes to XML. Come see which insurance providers are insured by the power of Stylus Studio!