|
Navigation: SoftCAT Plus FAQ > Upgrading to the latest version > Version 3.10 uses a new XSLT transformation engine |
|
SoftCAT version 3.10 uses a new XSLT transformation engine. Unfortunately, this means that some of the old xsl templates will not work properly.
If you have not customized the xsl templates
To reinstall all xsl templates, download and run softcatplus_setup_xsl.exe.
Note: This will overwrite all existing xsl templates.
If you have customized the xsl templates
This means that you will have to manually update the xsl templates.
First, you need to update all calls to the add-pagelinks function. There are at least 4 files you need to update (all located in the \Explorer Templates folder):
CategoryList.xsl
KeywordList.xsl
ProgramList.xsl
PublisherList.xsl
Change the following two lines (add "/data" - highlighted in red):
<xsl:with-param name="totalpages" select="recordset/totalpages"/>
<xsl:with-param name="pageno" select="recordset/pageno"/>
to
<xsl:with-param name="totalpages" select="data/recordset/totalpages"/>
<xsl:with-param name="pageno" select="data/recordset/pageno"/>
In the \HTML Export folder, you need to modify 1 file:
IndexMainOverview.xsl
Change
translate(substring(preceding::title, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">
to
translate(substring(preceding::record[1]/title, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">