Choose Root Element (XQuery Mapper)

 

XQuery support is available only in Stylus Studio XML Enterprise Edition and Stylus Studio XML Professional Edition.

You use the Choose Root Element dialog box to specify the root element you want to use for a source or target document structure in the XQuery mapper. This dialog box appears when you select either a DTD or XML Schema (XSD) as the source or target document.

Fields

Choose Root Element

This field displays a list of elements in the DTD or XSD. Click the drop-down list, and then click the element that you want to be the root element for the source or target document structure.

Associate With

This field appears when you add a second document to the XQuery mapper source and that document is a DTD or XSD. You use it to specify the XML instance that you want to associate with the DTD or XSD.

This field does not appear if the DTD or XSD is the first source document you add to the XQuery mapper - Stylus Studio uses the XML Source document specified in the Scenario Properties dialog box as the XML instance in this case.

For More Information

Building an XQuery Using the Mapper

Source Documents

Specifying a Target Structure

Source Documents and XML Instances

Generate XML Schema

Generate XML Schema data models from one or more XML instance documents, or by converting other data models (DTD's, Relational Schemas, EDIFACT, EDI, etc.)

Stylus Studio Product Documentation

Stylus Studio product documentation consists of The Stylus Studio 6 User's Guide, An online Help system, Release Notes to keep you up to date with Stylus Studio's continuing innovations and enhancements.

XSL-List

The XSL-List forum is a valuable learning resource for the Extensible Stylesheet Language (XSL), covering the XSL specification, XSL processor implementations, and XSL user questions. Get this free XSL resource delivered to your inbox today.

XML Programming

Simplify XML Programming with Stylus Studio's XML Pipeline, a powerful tool for modeling, programming, debugging and deploying complete XML programs.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.