Wednesday, June 30, 2010

MFL and Excel

I don't think anybody in his right state of mind would actually use the Format Builder graphical tool to write MFL files.

In fact the MFL file is a simple XML file, I found it very convenient to stick the structure of my binary message in an Excel file, and generate the XML using simple Excel formulas.

Most of the time you use only a few MFL options so it's pretty trivial to generate automatically the XML file.

I wish I had the time to develop some sort of DSL or something.... the MFL.DTD is here

http://download.oracle.com/docs/cd/E13182_01/elink/elinkii/v10/usergd/appendb.htm

Here I generated the equivalent XSD:

http://javatoolsforweblogic.googlecode.com/svn/trunk/MFL/MFL.xsd

No comments: