[...] > displayname > has-theme(language); > has-theme(iso-code); > has-scope(2, INF). .... and if we detach the "theme" from the total number of themes template we could also constrain that something has to be in the constrained scope (which seems to be impossible currently): surname has-scope(0,0). Best regards, Lars -- Semagia <http://www.semagia.com>