Navigation:  CATVids FAQ > Upgrading to the latest version > Version 7 >

Version 7.20 uses a new XSLT transformation engine

Previous pageReturn to chapter overviewNext page

CATVids version 7.20 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 catvids_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 10 files you need to update (all located in the \Explorer Templates folder):

BorrowerList.xsl

ContentsList.xsl

ContentsList_Award.xsl

ContentsList_Nomination.xsl

ContentsList_Series.xsl

LoanList.xsl

PersonList.xsl

VideoList.xsl

VideoList_Acquired.xsl

VideoLoanList.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 addition, you need to modify Contents.xsl.

Contents.xsl

Change

  <xsl:if test="counterstart/@hours!=0 counterstart/@minutes!=0 or counterstart/@seconds!=0">

to

  <xsl:if test="counterstart/@hours!=0 or counterstart/@minutes!=0 or counterstart/@seconds!=0">

 


In the \HTML Export folder, you need to modify 8 files:

IndexMainOverview.xsl

 

Change

  translate(substring(preceding::titlesort, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">

to

  translate(substring(preceding::videodata[1]/titlesort, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">

 

ContentsIndexMainOverview.xsl

 

Change

  translate(substring(preceding::contentsdata/titlesort, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">

to

  translate(substring(preceding::contentsdata[1]/titlesort, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'))">

 

ContentsList.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">

 

ContentsListCompact.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">

 

ContentsListDetails.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">

 

VideoDetails.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">

 

ContentsDetails.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">

 

ContentsDetails2.xsl

 

Change

  <xsl:if test="episodeno!=0'">

to

  <xsl:if test="episodeno!=0">

 

and

  <xsl:if test="season!=0'">

to

  <xsl:if test="season!=0">