1. An XML-based preprocessor, comprising: a source file parser configured to parse a programmed source file and generate a syntactic representation of the programmed source file; an XML (Extensible Markup Language) generator configured to generate an XML document from the syntactic representation of the programmed source file, the XML generator further configured to apply a transform to the XML document to generate a modified XML document; and an output file generator configured to generate an output file from the modified XML document in a format of the programmed source file.