can read database, parse xml