[xsl] Similarity metric in XSLT 2?

Subject: [xsl] Similarity metric in XSLT 2?
From: Martin Holmes <mholmes@xxxxxxx>
Date: Fri, 30 Mar 2012 11:18:05 -0700
Hi all,

I'm faced with a situation in which I have to match an input string against a set of possible candidates, and I need to find the match which is most similar to it (I'm trying to identify correspondences between two sets of files which have similar, but not identical, content).

Has anyone done anything like measuring string similarity in XSLT 2.0? If so, how did you approach it?

All help appreciated,

Current Thread