views:

10

answers:

0

We recently moved to xercesImpl-2.10.0.jar from previous version and some of our old usages are showing as deprecated. Can I know the latest usage for them

                    FileOutputStream fos = new FileOutputStream(vAdjustmentFile + "_merged");
                    **OutputFormat** of = new OutputFormat("XML", "ISO-8859-1", true);
                    of.setIndent(1);
                    of.setIndenting(true);
                    **`XMLSerializer`** serializer = new XMLSerializer(fos, of);
                    serializer.asDOMSerializer();
                    serializer.serialize(arDOMRootElement);
                    fos.close();

Eclispe is showing currently OutputFormatand XMLSerializer are deprecated. I referred to the specificationDocument for DOM3 but couldnt find.

Thanks in advance