This document provides best practices for developing an XML generator. The generator is used to produce XML according to specifications. It outlines steps to write common options and code sections in the XML, including base, definition, and code block tags to organize the code. Code tags should be sequentially numbered and maintain numbering when nested in definitions or code blocks. An example XML schema file is referenced for more information.