XSD - Simple Types


In this chapter, we'll see Simple Types that XSD defines.

S.No. Simple Type & Description
1

Element

Simple Element can contain only text. It can not contain any other element.

2

Attribute

Attribute is itself a type and is used in Complex Element.

3

Restriction

Restriction defines the acceptable values of an XML element.

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements