![]() |
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
![]() ![]() ![]() | THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
![]() ![]() ![]() |
Example:
<element name="card" type="b:card_type"/> <element name="name" type="string"/> <complexType name="card_type"> <sequence> <element ref="b:name"/> <element ref="b:title"/> <element ref="b:email" maxOccurs="unbounded"/> <element ref="b:phone" minOccurs="0"/> <element ref="b:background" minOccurs="0"/> </sequence> </complexType> |
means the same as
<element name="card"> <complexType> <sequence> <element name="name" type="string"/> <element ref="b:title"/> <element ref="b:email" maxOccurs="unbounded"/> <element ref="b:phone" minOccurs="0"/> <element ref="b:background" minOccurs="0"/> </sequence> </complexType> </element> |
(where the complex type card_type and the description of name have been inlined)
except that:
![]() | COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
![]() |