For streamed shredding, you create W3C XML schema documents to define the mapping that describe the XML documents to be shredded. A schema document is an XML document that describes the syntax and structure of XML documents. You add annotations to the document to describe how different parts of the XML document map to target tables in the database.
Annotations in XML schema documents are comments that the XML shredding procedures interpret as instructions about what data items to extract from conforming XML documents and how to use these data items in updating the target tables. The annotations are ignored by applications that do not know how to interpret them.