O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Elements Can You Use in Schemas?

So which elements do schemas support? You can see an overview in Table 5-2. You'll see many of these elements at work as you build schemas in this chapter.

Table 5-2. Schema Elements
Type Description
all Permits the elements in a group to appear in any order in the containing element.
annotation Creates an annotation.
any Permits any element from the given namespace(s) to appear in the containing sequence or choice element.
anyAttribute Permits any attribute from the given namespace to appear in the containing complexType element or the containing attributeGroup element.
appinfo Specifies information to be used by applications within an annotation element.
attribute Creates an attribute.
attributeGroup Groups ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required