|
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: |
Flat File to XML Mapper
Convert any flat file to XML in 3 clicks or less using the Stylus Studio Flat File to XML Mapper. Supports tons of different file encodings: UTF-8, UTF-16, US-ASCII, ISO-8859-1, and more.
Using DTD in Microsoft Applications
Learn how to integrate DTD's into your Microsoft applications using MSXML or System.XML DTD processing components.
XQuery Mapper
Stylus Studio has the industry's only XQuery mapper, enabling you to develop sophisticated XML mappings consisting of queries and data transformation in an intuitive, visual manner.
Simple API for XML (SAX)
SAX stands for Simple API for XML - SAX is an XML standard used everywhere in Stylus Studio, for parsing and building representations of XML documents.