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 has the following description:

  • The genre attribute specifies the style of the publication. That is, whether it is a book, magazine, or newsletter.
  • 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.

The following topics in this section describe how to define this XML Schema using the Diagram tab of the XML Schema Editor.

XQuery and Web Services

XQuery provides a flexible means for data abstraction, while Web services provide process abstraction. In this online video demonstration, learn how integrated XQuery & Web service tools simplify development of XQuery-based Web service applications.

DTD Parser

Learn about the powerful DTD parser technologies that are supported in Stylus Studio's DTD tools, including DOM and SAX based DTD parsing components.

XML Unicode Encoding

Stylus Studio supports over 300 different file encodings, including UTF-8, UTF-16, EUC-JP, SHIFT-JIS, and more, alowing you to work with any XML document. Robust text editors support standard editing features, and Sense:X intelligent auto-completion.

XML Publisher - XSLT Generator and XSL:FO Generator

The XML Publisher lets you easily design beautiful documents in HTML or PDF format from relational, XML and other data sources using XSL:FO or XSLT, using an intuitive visual interface.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member