This site documents every Sevenval FIT feature in great detail. If you’re just getting started with Sevenval FIT, it is highly recommended that you start with the get started guide.
Choose your version or topic:
Looking for older versions? Use our Time Machine ↺ to travel back and forth through FIT releases.
Release date: 2018-06-06
lookup() function implements key based lookups from either JSON files or our open sourced SHMT database format. Especially the latter is very fast at runtime. The function’s purpose is to perform pain free “value-value” replacements from XSL transformations such as mapping IDs to strings or implementing translation tables.
The returned value of
lookup() may be an arbitrary string, such as JSON data. This plays nicely together with the new
xml-to-json() functions that are loosely based upon the new XPath 3.1 functions for handling JSON data. They translate JSON strings into an XML representation that is returned into the XPath or XSLT context as a ready-to-use DOM tree. This is especially handy when working with API services.
As usual, there are also a couple of third-party updates and bug fixes.
The changelog provides the complete list of changes.