<?xml version="1.0" ?>
<!DOCTYPE stylesheet 
[
<!ENTITY nbsp    "&amp;#160;">

]>
<!--==================================================================-->
<!--        (c) Genias Benelux 2001                                   -->
<!--       This file is part of the VMP publishing system             -->
<!--      Its contents may  not be copied or used in any way          -->
<!--      outside of a licensed VMP system                            -->
<!--        July 4 2001                                              -->
<!--==================================================================-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		  version="1.0"
                  xmlns:vmp="http://www.hoise.com/vmp/1.0"
                  xmlns:xt="http://www.jclark.com/xt"
                  extension-element-prefixes="xt">
                  
                  
<xsl:include href="../set-up/settings.xsl"/>
<xsl:include href=".../../../set-up/format-basis.xsl"/>
<xsl:variable name="CMTSetUp" select="document('../set-up/cmt.xml')/vmp:cmt" />


<xsl:variable name="SelectGroup" />
<xsl:variable name="SelectStylesheet" />
<xsl:variable name="SelectMagazine" />
<xsl:variable name="SelectIssue" />
<xsl:variable name="SelectMessage" />

<xsl:variable name="Ssheet">
<xsl:choose>
<xsl:when test="$SelectStylesheet ='default' ">
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$SelectStylesheet" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>


<xsl:variable  name="Prefix"><xsl:value-of select="translate(substring($SelectGroup,1,$PrefixLength),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/></xsl:variable>

           <xsl:variable name="resetForms"/>
   




 

<xsl:template match="/">    
<xt:document method="html" href="temp/publish.txt">
<xsl:call-template name="format-basis">
<xsl:with-param name="Title">Update results</xsl:with-param>
<xsl:with-param name="Contents">


<tr>
<td>
<table height="600"
       cellspacing="0" 
       width="100%" 
       cellpadding="0">
<tr>
<td width="25">
<img src="{$IconDirectory}/spacer.gif" 
     width="25" 
     border="0" />

</td>
<td>

       
<table bgcolor="{$BaseColour}" 
       cellspacing="1" 
       cellpadding="0"
       width="100%" >

<tr bgcolor="{$SupportColour}">
<td colspan="2" height="20" style="{$CMTSetUp/vmp:layout/vmp:table/@title-style}">
<div style="color: {$BaseColour};" >VMP Update results</div>

</td>
</tr>
<tr><td>

<table cellspacing="1" 
       cellpaddding="0"
       width="100%">

<xsl:choose>
<xsl:when test="string-length(normalize-space($SelectMessage)) ='0' ">

<tr>
	<td style="{$CMTSetUp/vmp:layout/vmp:table/@header-style}" >Succesfully published contents and contributions</td>
</tr>

<tr>
	<td style="{$CMTSetUp/vmp:layout/vmp:table/@text-style}" >
	Select to view: <a href="{$BaseUrl}articles/contents{$SelectMagazine}{$SelectIssue}{$Ssheet}.html"><xsl:value-of select="concat($SelectMagazine,$SelectIssue,$Ssheet,'.html')" /></a>
</td>
</tr>

</xsl:when>
<xsl:otherwise>
<tr>
	<td style="{$CMTSetUp/vmp:layout/vmp:table/@header-style}" > <div style="color: red;">An error occured</div></td>
</tr>

<tr>
	<td style="{$CMTSetUp/vmp:layout/vmp:table/@text-style}" >
	<div style="color: red;">
	<xsl:value-of select="$SelectMessage" />
	</div>
</td>
</tr>

</xsl:otherwise>
</xsl:choose>


</table>
</td>
</tr>
</table>


</td>

</tr>
<tr>
<td colspan="2" height="100%">
<img src="{$IconDirectory}/spacer.gif" 
     width="25" 
     border="0" />

</td>

</tr>

</table>
</td>
</tr>

</xsl:with-param>

</xsl:call-template>
</xt:document>  

</xsl:template>




<xsl:template match="*|@*">
  <xsl:copy>
    <xsl:apply-templates select="@*"/>
    <xsl:apply-templates select="node()"/>
  </xsl:copy>

</xsl:template>

</xsl:stylesheet>

