<?xml version="1.0" ?>
<!DOCTYPE stylesheet 
[
<!ENTITY nbsp    "&#160;">
]>
<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:template name="format-basis">
<xsl:param name="Contents"/>

<xsl:element name="html">
<head>
<title>VMP - Editor Tool</title>
<style type="text/css">
      BODY {
        font-family: Arial, sans-serif, sansserif;
        font-size: 9pt;
        color: black;
      }
      TD {font-size: 9pt;
        font-family: Arial, sans-serif, sansserif;
        color: black;
      }
      B {
        font-family: Arial, sans-serif, sansserif;
        font-size: 11pt;
        color: <xsl:value-of select="$TextColour"/>;
        font-weight:  bold;
      }
      H3 {
        font-family: Arial, sans-serif, sansserif;
        font-size:13pt;
        color:<xsl:value-of select="$TextColour"/>;
        font-weight: bold;
      }
      H4 {
        font-family: Arial, sans-serif, sansserif;
        font-size:13pt;
        color: black;
        font-weight: bold;
      }
      SELECT {
        width: 365px
      }
      TEXTAREA {
        width: 365px
      }
      A {
        text-decoration: none
        color: blue
      }
    
</style>
<script type="text/javascript" language="JavaScript">
    <!--
    function popup(location) {
        window.open(location, "help", "scrollbars=yes, resizable=yes,toolbar=0,menubar=0,width=400,height=400");
    }
    -->
    
</script>
</head>

<body marginheight="0" topmargin="0" vspace="0" marginwidth="0"
leftmargin="0" hspace="0" style="margin:0">
<!--
    == column one is the green background with text labels
    == column two is the shaded border
    == column three is the white background with form elements
    == column four is the right border
    -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap="nowrap" width="170" height="1" background="{$IconDirectory}/column1.gif"><img src="{$IconDirectory}/pixel.gif" />
<br />
<br />
</td>
<td nowrap="nowrap" width="30" height="1" background="{$IconDirectory}/column2.gif"><img src="{$IconDirectory}/pixel.gif" /></td>
<td nowrap="nowrap" width="547" height="1" background="{$IconDirectory}/column3.gif"><img src="{$IconDirectory}/pixel.gif" /></td>
<td nowrap="nowrap" width="52" height="1" background="{$IconDirectory}/column4.gif"><img src="{$IconDirectory}/pixel.gif" /></td>
</tr>

<xsl:copy-of select="$Contents"/>
</table> 

</body>

</xsl:element>

</xsl:template>

<xsl:template name="format-basis-nxml">
<xsl:param name="Contents"/>

<xsl:element name="html">
&lt;head>
&lt;title>VMP - Editor Tool&lt;/title>
&lt;style type="text/css">
      BODY {
        font-family: Arial, sans-serif, sansserif;
        font-size: 9pt;
        color: black;
      }
      TD {font-size: 9pt;
        font-family: Arial, sans-serif, sansserif;
        color: black;
      }
      B {
        font-family: Arial, sans-serif, sansserif;
        font-size: 11pt;
        color: <xsl:value-of select="$TextColour"/>;
        font-weight:  bold;
      }
      H3 {
        font-family: Arial, sans-serif, sansserif;
        font-size:13pt;
        color:<xsl:value-of select="$TextColour"/>;
        font-weight: bold;
      }
      H4 {
        font-family: Arial, sans-serif, sansserif;
        font-size:13pt;
        color: black;
        font-weight: bold;
      }
      SELECT {
        width: 365px
      }
      TEXTAREA {
        width: 365px
      }
      A {
        text-decoration: none
        color: blue
      }
    
&lt;/style>
&lt;script type="text/javascript" language="JavaScript">
    &lt;!--
    function popup(location) {
        window.open(location, "help", "scrollbars=yes, resizable=yes,toolbar=0,menubar=0,width=400,height=400");
    }
    -->
    
&lt;/script>
&lt;/head>

&lt;body marginheight="0" topmargin="0" vspace="0" marginwidth="0"
leftmargin="0" hspace="0" style="margin:0">
&lt;!--
    == column one is the green background with text labels
    == column two is the shaded border
    == column three is the white background with form elements
    == column four is the right border
    -->
&lt;table border="0" cellpadding="0" cellspacing="0">
&lt;tr>
&lt;td nowrap="nowrap" width="170" height="1" background="<xsl:value-of select="$IconDirectory" />/column1.gif">&lt;img src="<xsl:value-of select="$IconDirectory" />/pixel.gif" />
&lt;br />
&lt;br />
&lt;/td>
&lt;td nowrap="nowrap" width="30" height="1" background="<xsl:value-of select="$IconDirectory" />/column2.gif">&lt;img src="<xsl:value-of select="$IconDirectory" />/pixel.gif" />&lt;/td>
&lt;td nowrap="nowrap" width="547" height="1" background="<xsl:value-of select="$IconDirectory" />/column3.gif">&lt;img src="<xsl:value-of select="$IconDirectory" />/pixel.gif" />&lt;/td>
&lt;td nowrap="nowrap" width="52" height="1" background="<xsl:value-of select="$IconDirectory" />/column4.gif">&lt;img src="<xsl:value-of select="$IconDirectory" />/pixel.gif" />&lt;/td>
&lt;/tr>

<xsl:copy-of select="$Contents"/>
&lt;/table> 

&lt;/body>

</xsl:element>

</xsl:template>
</xsl:stylesheet>

