A method and apparatus for encoding/decoding between interchange format
data and structured data utilizes a scripting language. The structure of
the data can be controlled by the sequence of commands in the script and
changes to the structure can be implemented by changing the script. A
parser/interpreter is the only software necessary to implement the
technique.