|
Home > Online Product Documentation > Table of Contents > Defining complexTypes in XML Schemas Defining complexTypes in XML SchemasIn an XML Schema, an element that contains only data is a simpleType. Elements with any other contents are complexTypes. (Attributes are always simpleTypes.) The XML Schema Recommendation does not include any built-in complexTypes. You must define each complexType you need.
In the
Diagram view, when you define a complexType as a top-level definition, it is a global declaration. You can specify that any element in the schema is of this complexType. Similarly, in the
Tree view, it is a global declaration when you define a complexType as a child of the
You can also define a complexType in the definition of an element. See Defining Elements That Contain Subelements in XML Schemas.
Stylus Studio takes care of most of the details for you. But as you define a complexType, it is helpful to keep in mind that a
This section discusses the following topics: |
Using DataDirect XML Converters
Learn how to use DataDirect XML Converters and the Stylus Studio Java Code Generator to deploy the XQuery applications you build in Stylus Studio to a live server environment.
XSV - The XML Schema Validator
XSV is the official reference implementation for the XML Schema language and Stylus Studio is the only XML IDE to provide seamless integration with XSV - the W3C XML Schema Validator. Download Stylus Studio and XSV today.
XQuery Tools Support for TigerLogic XDMS
Stylus Studio's integration with the TigerLogic XDMS XQuery processor, allowing you to execute advanced XQuery expressions directly against any TigerLogic XDMS instance.
Single Source Publishing
Single source publishing is the ability to use one source of information for generating multiple types of output. Stylus Studio XML Publishing enables Single Source Publishing - publish PDF or HTML documents from Relational, XML or Legacy files.