That should work. Also TEMPLATE "query_handler.php?attribute=[ATTRIBUTE]" should work if you want to pass it to a server-side script. But you can not use that for queries that might return more than one record (itemnquery) because you can only redirect once.A basic question I think. How can you set the Query template to be dependent on the query itself? I'm picturing something like this: TEMPLATE "[ATTRIBUTE].html"