XML and Namespaces in XML provide a tag-based syntax for structuring data and applying markups to documents. Documents that conform to XML and Namespaces in XML specifications may be made up of a variety of syntactic constructs such as elements, namespace declarations, attributes, processing instructions, comments, and text. This chapter provides a description of each of the structural elements in XML along with their syntax.