xmlq separated save and select