XML (eXtensible Markup Language) is fast emerging as the language of choice for exchanging data over the World Wide Web. The language is governed by a set of rules set forth in an XML schema or a Document Type Definition (DTD). These rules dictate the structure of an XML document. The XML schema is a more modern, powerful and prevalent technology for dictating XML document structure than the older DTD technology. We provide comprehensive support for XML schemas that enable input from and output to XML documents from a COBOL application.