Generate encode and decode source code base on the xml file.