The simpleContent element contains extensions or restrictions on a text-only complex type or on a simple type as content and contains no elements.
(The ? sign declares that the element can occur zero or one time inside the simpleContent element)
|id||Optional. Specifies a unique ID for the element|
|any attributes||Optional. Specifies any other attributes with non-schema namespace|
Here is an example of an XML element (<shoesize>) that contains text-only:
The following example declares a complexType, "shoesize", with its content defined as a integer data type and with a country attribute:
Your message has been sent to W3Schools.