Navigation:  StampCAT FAQ > Upgrading to the latest version >

Version 8.10 uses a new XSLT transformation engine

Previous pageReturn to chapter overview

BookCAT version 8.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 stampcat_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 5 files you need to update (all located in the \Explorer Templates folder):

CategoryList.xsl

ColorList.xsl

CountryList.xsl

StampList.xsl

TopicList.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 update the following files:

CategoryList.xsl

ColorList.xsl

CountryList.xsl

TopicList.xsl

 

Simply remove this line:

 <xsl:include href="Common-FormatRating.xsl"/>

 

Index.xsl

Change

 <A HREF="TopicList.xsl?Topic>ZZ{$browseTopic}">></A>

to

 <A HREF="TopicList.xsl?Topic>ZZ{$browsetopic}">></A>

 

StampBrowse.xsl

Change

 <xsl:if test="postmark!='' OR postmarkcity!='' or postmarkdate!=''">

to

 <xsl:if test="postmark!='' or postmarkcity!='' or postmarkdate!=''">

 

and

 <xsl:if test="postmarkcity!='' OR postmarkdate!=''">

to

 <xsl:if test="postmarkcity!='' or postmarkdate!=''">

 

StampBrowse_Vert.xsl

Change

 <xsl:if test="postmark!='' OR postmarkcity!='' or postmarkdate!=''">

to

 <xsl:if test="postmark!='' or postmarkcity!='' or postmarkdate!=''">

 

and

 <xsl:if test="postmarkcity!='' OR postmarkdate!=''">

to

 <xsl:if test="postmarkcity!='' or postmarkdate!=''">

 

and finally change

 <xsl:variable name="doctitle">

   <xsl:call-template name="format-artist">

     <xsl:with-param name="artists" select="/data/record/albumdata/artists"/>

     <xsl:with-param name="hyperlink" select="'False'"/>

   </xsl:call-template>        

   <xsl:text> / </xsl:text>

   <xsl:value-of select="/data/record/albumdata/title"/>

 </xsl:variable>

to

 <xsl:variable name="doctitle">

   <xsl:value-of select="data/record/country"/>

     <xsl:if test="data/record/catalogno!=''">

     <xsl:text> (</xsl:text><xsl:value-of select="data/record/catalogno"/><xsl:text>)</xsl:text>

   </xsl:if>

 </xsl:variable>

 

Catalog.xsl

Change

 <xsl:if test="currency!='' OR exrate/@unformatted!='0.0'">

to

 <xsl:if test="currency!='' or exrate/@unformatted!='0.0'">

 

CatalogBrowse.xsl

Change

 <xsl:if test="currency!='' OR exrate/@unformatted!='0.0'">

to

 <xsl:if test="currency!='' or exrate/@unformatted!='0.0'">