|
Home > Online Product Documentation > Table of Contents > The Types Element The Types Element
You use the Types element to specify the XML Schema (
A WSDL document can have only one Types element; it must be named "types." How to Create a Types ElementTo create a Types element:
1. Select the Definition (root) element.
2. Select
Diagram >
Add >
Types from the Stylus Studio menu.
Alternative: Right-click the Definition element and choose Add > Types from the shortcut menu. Stylus Studio adds a Service element to the WSDL. Types Element PropertiesThe Types element has no editable properties. Adding a Schema Element
Once you add the Types element to the WSDL, you then add one or more Schema elements. A Schema element represents an XML Schema, and is created using the
Once it is part of the WSDL definition, you work on a Schema element as if it were an XML Schema in Stylus Studio. For example, you can either define the XML Schema's elements, attributes, global types, and so on directly in the WSDL, as shown in Figure 382, or you can use the Schema element to reference existing XML Schemas ( Diagram > Reference Schemas).
See Working with XML Schema in Stylus Studio for more information about creating XML Schema elements from scratch. See Referencing External XML Schemas to learn about importing and including existing XML Schemas. How to Create a Schema ElementTo create a Schema element:
1. Select the Types element.
2. Select
Diagram >
Add >
Schema from the Stylus Studio menu.
Alternative: Right-click the Types element and choose Add > Schema from the shortcut menu. Stylus Studio adds a Schema element to the WSDL. Schema Element PropertiesSee About xsd:schema Properties for more information. |
EDI to XML Mapping
A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.
XML-DEV Blog
Join the XML Development discussion at XML-Dev - the hottest place to talk about XML technologies, trends, systems architecture and all the latest buzz. Bookmark this RSS and ATOM feed now!
Java Code Generation
The Stylus Studio Java Codce Generator lets you generate deployable Java code for XQuery and XSLT at the push of a button!
EDIFACT Sample Converted to XML
A sample EDIFACT document before and after conversion to XML, showing markup and full automatically-generated internal documentation.


