I'm trying to transform a letter based on my XSLT and it is giving me an error:
Cannot find a 1-argument function named Q{http://exslt.org/math}max(). External function calls have been disabled.
I'm using XSLT 1.0 by the way.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:math="http://exslt.org/math" xmlns:exsl="http://exslt.org/common" xmlns:xalan="http://xml.apache.org/xalan" extension-element-prefixes="exsl">
I tried changing the xmlns:math="http://exslt.org/math" to xalan math but still getting the error:
External function calls have been disabled.
Any idea if it's permissions related or probably a properties file?
What XSLT processor are you running? Is it Saxon?
If so, you'll want to check this configuration setting is enabled: https://www.saxonica.com/documentation12/index.html#!configuration/config-features@ALLOW_EXTERNAL_FUNCTIONS
If you don't know what the processor is (e.g. if embedded in some other software), trying running this stylesheet: