1. A method for rendering XML from an object model, an object model from XML, or both, the XML containing a plurality of different XML tags, the Method comprising: for each XML tag in the XML, defining a translator, each translator including a common, parser-independent mappings for the XML tag of said XML to an associated object model feature for the XML tag, whereby the parser-independent mappings are each useable with multiple types of parser mechanisms including at least parser mechanisms that use a document object model and parser mechanisms that are event driven; and defining a plurality of parser specific renderers that function generically with all common mappings; wherein said defined parser-specific renderers: render an object model using a parser-specific implementation in conjunction with the common mappings to translate XML to object model instances; and render XML using a parser-specific implementation in conjunction with the common mappings to translate object model instances to XML.
2. The method of claim 1 , wherein the translators are encoded into translator classes.