Defining Elements and Attributes in XML Schemas

You can define an element or attribute as part of a complexType. You can also define an element or an attribute as a top-level item. In other words, in the XML document that defines the XML Schema, the element or attribute is a child of the xsd:schema element. An element or attribute that is an immediate child of the xsd:schema element is a global element or attribute.

A global element or attribute cannot

  • Contain a reference to another element or attribute
  • Specify values for the minOccurs, maxOccurs, or use properties

This section covers the following topics:

Canonicalize XML

Stylus Studio® features a handy XML canonicalizer among its many XML editing utilities, for quickly and easily converting any XML document into its canonical form (c14n), a widely-used W3C standard for normalizing XML files.

XQuery Integration

Learn how new XQuery technologies can simplify legacy data integration by leveraging industry standards, proven open-source XML processing components, and Stylus Studio's integrated XQuery & XML tools.

Binary XML

How do I get my binary data into XML? How do I get my binary data out of XML? The answers to these questions and more in this amazing Binary XML tutorial.

XQuery Functions - User Defined Functions in XQuery

Dr. Michael Kay's tutorial entitled: 'Defining your own Functions in XQuery' explains how to write powerful User Defined Functions in XQuery.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member