Add toXml conversion.
Add split to multiple XML files.