|
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: |
Whitepaper: FIXML - Working with Complex Message Sets Defined Using XML Schema
The advanced XML Schema handling and presentation capabilities of Stylus Studio have valuable implications for users of industry-specific XML message sets.
Why XQuery - The Case for XQuery
Read "The Case for XQuery" - an article that debuted in the November 2005 issue of SOA WebServices Journal, written by Jerry King, Vice President of DataDirect Technologies.
XQuery Activist Kit
Help us get the word out! This "XQuery for All" activist's kit will help you get educated about the importance of XQuery and to serve as an important rallying point for the community of Microsoft XML developers who have lost their right to XQuery.
XML Notepad
XML Notepad simplifies building of XML applications, allowing authors to rapidly build and edit their XML files. With XML Notepad, you can create XML document prototypes quickly, easily, using an intuitive graphical interface.