I am curious to know what happens when we de-serialize an object. For example if my class object is composed of many other objects, how does the object creation process ...
I have the following code, that inserts the processing instructions before root element:
Document doc = builder.parse(file); doc.insertBefore( doc.createProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"annotation.xsl\""), ...