COREmanager Documentation
en En
es Es
Your feedback is an opportunity for improvement!
Take part in the survey and contribute to the development of the ISPsystem ecosystem.
Take the survey

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)"/>
The article was last updated on 11.21.2018. The article was prepared by technical writers of ISPsystem.