|
Home > Online Product Documentation > Table of Contents > Process Overview Process OverviewThe process of using the XQuery mapper to build a new XQuery consists of the following steps:
1. Create a new XQuery file in Stylus Studio (
File > New > XQuery File).
2. Click the
Mapper tab in the XQuery editor.
3. Add one or more source documents.
4. Specify a target structure.
5. Map source document nodes to target structure nodes. As part of this step, you can optionally define function, FLWOR (For each, Let, Where, Order by, Return), If, and condition blocks to perform actions on source document nodes and map the return value to the target structure node.
Stylus Studio uses the information expressed on the Mapper tab to compose an XQuery that returns as its result an XML document that conforms to the structure represented by the target structure you specify. Each of these steps is described in greater detail in the following sections. Working with Existing XQueriesYou can, of course, open an existing XQuery in Stylus Studio. When you do, the XQuery Source page displays the XML used to compose the XQuery, and the Mapper tab displays the source documents, target structure, and source-target mappings that can be inferred from the source XQuery file. All of the procedures described in this section can be performed on new or existing XQuery documents. Saving the MappingYou can save the XQuery mapping - source and target document trees, as well as the contents of the Mapper canvas - as an image. See Exporting Mappings. |
Energy Companies That Use Stylus Studio
Forget red bull! Many energy companies are using Stylus Studio 2006 for their quick pick me up during the work day. Come see which energy companies are getting the boost they need with Stylus Studio!
EXSLT Tools
EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.
Learn Stylus Studio in 6 Minutes
Learn Stylus Studio in 6 Minutes is the world's fastest introduction to XML development using Stylus Studio. In just six minutes, learn how to leverage Stylus Studio's powerful XML tools and utilities to simplify XML development.
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.


