A simple element is an XML element that can contains only
text. It cannot contain any other attributes or elements.
A D V E R T I S E M E N T
However, the "only text" restriction is somewhat misleading. The
text can be of many different type. It can be one of the types
included in the XML Schema definition ( string,boolean, date,
etc.), or it can be a custom type that you can define yourself.
You can also add restriction (facets) to a data type in
order to limit its content, or you can require the data to match
a specific pattern.
|