When processing XML by means of standard DOM, attribute order is not guaranteed after you serialize back.
It has three basic parsing interfaces: the Document Object Model parsing interface or DOM interface; the Simple API for XML parsing interface or SAX e the XML Catalog API to implement a local XML catalog.
3 WL Server on my machine. It works fine, without problem. I have to deploy that same ear file to a remote 10.