1. A method of populating a first plurality of data structures of a software application written in a programming language, each of said first plurality of data structures containing corresponding fields, said method comprising: receiving a schema and an input data, said input data being according to eXtensible Markup Language (XML), wherein said input data contains a plurality of elements, each element having an associated value, said schema containing a second plurality of data structures according to said programming language, said second plurality of data structures specifying a mapping of each of said plurality of elements to respective fields of said first plurality of data structures; and setting each of the fields of said first plurality of data structures to values associated with an element specified by said mapping.