[api] remove more of rexml usage