OM to XML Migration

You can migrate code that uses methods from classes in the om package to methods from classes in the xml package.

Before you migrate, make sure that you are using the classes from the appropriate package: Why would you migrate from om to xml classes and methods?