First step toward migrating SDB to XMLElement