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.

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.

X12 Standards Available Across All Releases

The complete X12 Standards Grid, listing all X12 EDI releases across the top, and the corresponding transaction sets down the left side.

EXSLT Tools

EXSLT support in Stylus Studio lets you extend XSLT 1.0 stylesheets and simplify many tasks including computing dates and times, performing mathematical computations, string manipulations and more.

Learn XQuery in 10 Minutes, by Dr. Michael Kay - An XQuery Tutorial

Learn XQuery in 10 Minutes By Dr. Michael Kay is for all those people who really want to know what XQuery is, but don't have the time to find out. It's the fastest XQuery tutorial on the planet - read it now!

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.