XSLT - some predicates turn to classes