Name

xs:simpleContent

Attributes

id

A unique ID value (optional)

Contents

xs:annotation?, ( xs:extension | xs:restriction )

xs:simpleContent is used within xs:complexType elements when defining a complex type with simple content (text content plus attributes), when either extending an existing simple type (adding attributes) or restricting an existing complex type with simple content (removing attributes or restricting the simple content). All of the type definition takes place within the child xs:extension or xs:restriction elements.

Get XML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.