XML Encoded Source is a tool that encodes source code in XML form to allow conversion to other languages, the generation of documentation such as UML, and to provide an intermediate format for code generators that allows code to be more quickly compiled on the fly. It also provides language independence in code distribution and could provide a much better way to mix scripting code in with XML data.