Check out XSLT Support in FrameMaker 2017 by Jang Graat. Here is an excerpt:
Learn everything you need to know about XSLT and FrameMaker in this blog post by Jang F.M. Graat. Make the most of FrameMaker’s XSLT support – including choice of XSLT processors, using parameters, adapting smart paste behavior, running XSLT from ExtendScript or in code view, and installing…
The full article is available here.