The present invention relates generally to computers and computer
databases, and more specifically, to a method of and system for
converting between Object-oriented classes and markup languages. One
aspect of the invention is broadly defined as a method for converting
data from a markup language format to an Object model, comprising the
steps of: identifying an input markup language code, a destination Object
and a markup schema; determining mappings between the markup schema and
the destination Object, distinguishing between data elements and
organizational elements of the input markup language code; traversing the
input markup language code, following paths in accordance with whether
the mappings are data or organizational; and instantiating corresponding
software Objects.