Description of Sample XML Schema

Suppose you want to define an XML Schema that defines book, magazine, and newsletter elements. The type of each of these elements is PublicationType. The XML Schema defines the PublicationType complexType. An element that is a PublicationType contains the following:

  • The genre attribute specifies the style of the publication.
  • There is always exactly one title element.
  • The subtitle element is optional.
  • There must be at least one author element and there can be more. Each author element contains one first-name element and one last-name element.
  • Of the following three elements, exactly one must always be present:
    • ISBNnumber
    • PUBnumber
    • LOCnumber
  • The elements must be in the order specified in this list.

Advertising & Marketing

Learn about top advertising and marketing companies that are leveraging Stylus Studio 2006 to enhance their everyday work experience.

XML Programming

Simplify XML Programming with Stylus Studio's XML Pipeline, a powerful tool for modeling, programming, debugging and deploying complete XML programs.

EDI Mapping

To transform EDI to XML, whether for X12 or EDIFACT, Stylus Studio provides the design tools and run-time support. EDIFACT, X12 and custom EDI formats can be translated, validated and mapped using the EDI Mapping adapter technology described here.

Web Service Testing Tools

The Stylus Studio Web Service Tester allows you to easily locate, build references to, and test Web services for XML applications based on WSDL, SOAP, and UDDI standard Web service technologies.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member