appserver: start to create xml from sqlite3 db query