It seems like it would be easy to do, but it is not. XML Schema is a document validation language, not a document creation language. He does not tell you how to create a new document; it tells you if the document you made is valid. This is not the same thing: a long shot.
For example, it is trivial to create a complex type in an XML schema that consists of a sequence of optional options. An element foocan have either a child bar, or baz, or a child, bazor bat, then a child foo, baror bat. This creates a rule that can determine that both of these elements are valid:
<foo>
<baz/>
<baz/>
<bar/>
</foo>
<foo>
<foo>
<bar/>
</foo>
</foo>
, foo.
, - , , , . , . , . , , , .
, , - . , CSV XML , . XML, :
<item name="foo" type="string" size="10" allowNulls="true" .../>
<item name="bar" type="date" allowNulls="false" .../>
XML CSV, , XML. , XML .
, (, ), .