This document outlines the basic rules and structure of XML including: 1) All XML elements must have a closing tag and be properly nested. 2) XML documents must have a single root element and attribute values must be quoted. 3) Special characters like < and & need to be written as entity references like < and & for XML to be valid.