added images support + fixed xsl queries