Elements are the main building block of any XML document; they contain the data and determine the structure of the document. An element can be defined within an XML Schema (XSD) as follows: An element definition within the XSD must have a name property; this is the name that will appear in the XML document. This is a video tutorial on working with XML files in Visual Basic (Visual Studio 2010). This tutorial covers saving XML data to.xml files. Codes for Visual. XML Schema Tutorial. Many of these XML standards are defined by XML Schemas. XML Schema is an XML-based (and more powerful) alternative to DTD. XML Schemas Support Data Types. One of the greatest strength of XML Schemas is the support for data types.