1. A method for utilizing reference/identification (ID) linking in extensible markup language (XML) wrapper code generation in a data processing system, said method comprising: receiving a type document and reference/ID constraints document; and accessing said reference/ID constraints document to translate between XML structures and object structures.