Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

<complexType>

Because XML Schemas have a <simpleType>, it follows that they also have a <complexType>. A complex type is used for developing element content, which is either element content or which has mixed content of both elements and data.

The representation of <complexType> is similar to the other components we have seen. It has a number of attributes that contribute to the ability to customize the <complexType> element:

  • id— A unique id for the complex type.

  • mixed— A Boolean accepting “true” or “false” with a default value of false. A value of true is used to represent a complexType that has mixed content—that is, both data and child elements.

  • name— A name for the complex type, which can be referenced by element declarations, extensions, restrictions, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book