Simple app using xQuery