do not add newlines in xml output
useless semi-colon in query
remove useless newlines in HTML output