|
Home > Online Product Documentation > Table of Contents > Defining a simpleType in the Tree View Defining a simpleType in the Tree ViewThis topic provides the steps for defining an atomic simpleType in the Tree view. When you are familiar with this procedure, you can adapt it to define list, union, and anonymous simpleTypes. In the Tree view, to define an atomic simple type:
1. Click the node you want to define a simpleType for. This can be one of the following types of nodes:
To define a simpleType as the sibling of another node, click the node and hold down the Shift key when you click the button in step 2. You cannot, of course, define a simpleType as a sibling of the Schema node.
2. In the left tool bar, click
New simpleType
3. Type a name for the new simpleType and press Enter.
4. In the left tool bar, click
New Restriction
Stylus Studio displays a scrollable list of XML Schema built-in types, and any simpleTypes you already defined in this schema. Descriptions of the XML Schema built-in types are in the W3C XML Schema Part 0: Primer.
5. Double-click the simpleType that you want to base your new simpleType on.
6. In the left tool bar, click
New Facet
You must ensure that you specify a facet that is valid for the specified base type. Stylus Studio does not prevent you from specifying an invalid facet. The W3C XML Schema Part: 0 Primer includes a table that provides this information.
7. Double-click the type of facet you want to specify.
8. In the
Properties window, double-click the
Value field.
9. Enter a value for the new facet.
|
Publishing & Printing
It is really hard to get things to look pretty, especially XML. That's why these publishing & printing companies use Stylus Studio to make a Mona Lisa out of data integration. Check out these top companies that are "stunning" with Stylus Studio!
EDI to XML
Using the DataDirect XML Converters EDI repository, the EDI to XML Conversion module is able to support dozens of EDI standard dialects and message types like EDIFACT, HL7, and X12.
DTD vs. Schema
Stylus Studio provides tools for working with both W3C XML Schema and DTD's - this tutorial explains what the differences are between the two, providing a technical comparison of DTD vs Schema.
EAI - Enterprise Application Integration
Using EAI tools included with Stylus Studio it's easy to unlock silos of enterprise data and seamlessly integrate it into your IT applications.


