text adapters and xml adapters