Schema definition for String element with properties
If you have to define a simple XML element of a certain predefined type like string or long but you want to include properties in the resulting element, the following schema definition might come handy.