1. A method of preserving a content model of an element during a transformation from a structured document that describes the content model of the element into a computer program, the method comprising: inputting the structured document into a transformation processor; the transformation processor parsing the element into a group of fundamental constructs; and the transformation processor converting each of the group of fundamental constructs to a plurality of computer program objects and a content model descriptor that corresponds to each of the computer program objects, the content model descriptors including information included in the content model of the element.