Create a filtered glossary that is filtered on some xpath value. Fix the prefilter generator (never really worked, not used with more than one filter), added a where clause generator that can be configured with a parameter.