adjusted XSLT annotation extractor