External XSLT functions
XSLT allows using an external function for specific data management, that cannot be performed by means of XSLT. In the XSLT theme, you can use two external functions - fixquote and replace. On Linux systems, they are implemented in the panel side, on Windows - on Microsoft JScript, and are located in extfunc.xsl.
To use the functions in xsl, add namespace mgr into the file, and import the extfunc.xsl file.
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mgr="http://ispsystem.com/xslplugin" exclude-result-prefixes="mgr">
<xsl:import href="extfunc.xsl"/>
...
</xsl:stylesheet>
The fixquote function escapes quotation marks.
The replace function is used for replacement.
Example:
<xsl:value-of select="mgr:fixquote(/doc/comment)"/>