485 lines
23 KiB
XML
485 lines
23 KiB
XML
<?xml version="1.0" encoding="gb2312" ?>
|
||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||
<xsl:template match="SuperMap">
|
||
<xsl:call-template name="AcceptBill"></xsl:call-template>
|
||
</xsl:template>
|
||
<xsl:template name="AcceptBill">
|
||
<html>
|
||
<header>
|
||
<xsl:element name="style">
|
||
<xsl:attribute name="type">text/css</xsl:attribute>
|
||
<![CDATA[
|
||
html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box; box-sizing:border-box;}
|
||
html, body, form {width:100%;height:100%;margin:0;padding:0;border:0;}
|
||
body {background:#ffffff;font-size:10pt;font-family:\5FAE\8F6F\96C5\9ED1,\5B8B\4F53,Arial,Helvetica,sans-serif;color:#343434;}
|
||
div, dl, dt, dd, ul, ol, h1, h2, h3, h4, h5, h6, pre, fieldset, input, textarea, blockquote {padding:0;margin:0;}
|
||
iframe {display:block;}
|
||
table, td, tr, th {font-size:10pt;}
|
||
table {border-collapse:collapse;line-height:normal;}
|
||
ol, ul, ul.ListItem {list-style:none;}
|
||
li {padding-bottom:4px;}
|
||
caption, th {text-align:center;}
|
||
img {vertical-align:middle;border-width:0px;}
|
||
a:link {color:#343434;text-decoration:none;}
|
||
a:visited {color:#343434;}
|
||
a:hover {color:#fe0000;}
|
||
a:active {color:#bc2931;}
|
||
input[type="button"], input[type="submit"], input[type="reset"], .Button {outline:none;vertical-align:middle;text-align:center;padding:0px 8px 2px 8px;padding:0px 11px 1px 11px\0;height:30px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;border-radius:0px\0;-webkit-box-shadow:0 0 2px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);-moz-box-shadow:0 0 2px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);box-shadow:0 0 2px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);border:solid 1px #a9a9a9;background:#fff;background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));background:-moz-linear-gradient(top, #fff, #ededed);background:-ms-linear-gradient(top, #fff, #ededed);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');}
|
||
button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner {border:none;}
|
||
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, .Button:hover {-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);background:#ededed;background:-webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ffffff));background:-moz-linear-gradient(top, #ededed, #ffffff);background:-ms-linear-gradient(top, #ededed, #ffffff);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');}
|
||
input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, .Button:active {position:relative;top:1px;z-index:999999;border-color:#5897fb;-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);}
|
||
input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus {-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);-moz-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3);border-color:#5897fb;}
|
||
table, td, tr, th { font-size: 9pt; }
|
||
table{width:630px;}
|
||
.PrintContainer{min-height:49%;padding-left:5px; vertical-align :middle; }
|
||
td { border: solid #000 1px; padding: 5px;text-align:left; vertical-align: middle; font-weight: 700; }
|
||
.AcceptHeader { border: none; padding:0px 0px 5px 0px; text-align:right; }
|
||
.AcceptFooter { border: none; vertical-align: top; }
|
||
p.AcceptMater { margin-left: 20px; margin-right: 20px; margin-top: 5px; margin-bottom: 3px; border-bottom: 1px dashed #dcdcdc; word-break: break-all; }
|
||
.AcceptMater { font-size: 8px; }
|
||
.AcceptMater ul { list-style-type:none;vertical-align: text-top; margin: 0px; padding: 3px; width: 100%; }
|
||
.AcceptMater ul li { width: 50%; float: left; padding-bottom: 4px; }
|
||
.AcceptTitle {white-space:nowrap; float:right; line-height:45px;height:45px;padding-right:15px; font-weight: 900; font-size: 16pt; border: solid #000 0px; !important}
|
||
.AcceptBarCode{float:left;font-size:9px;}
|
||
#PrintPanel { position: fixed; right:1px ;top:1px; padding: 8px 30px; border: solid 1px #bbb; background-color: #add999; color: #add999;}
|
||
]]>
|
||
</xsl:element>
|
||
|
||
<xsl:element name="style">
|
||
<xsl:attribute name="type">text/css</xsl:attribute>
|
||
<xsl:attribute name="media">print</xsl:attribute>
|
||
<![CDATA[
|
||
.noPrint{display:none;}
|
||
.PrintContainer{padding:0px;}
|
||
]]>
|
||
</xsl:element>
|
||
</header>
|
||
<body>
|
||
<div id="PrintPanel" class="noPrint">
|
||
<input type="button" value="<22><>ӡ" class="Button" onclick="window.print();return false;" ></input>
|
||
</div>
|
||
<div class="PrintContainer">
|
||
<table border="0" cellpadding="0" cellspacing="0">
|
||
<tr style="height:0;">
|
||
<td style="width:10px;border:none;"></td>
|
||
<td style="width:30px;border:none;"></td>
|
||
<td style="width:auto;border:none;"></td>
|
||
<td style="width:80px;border:none;"></td>
|
||
<td style="width:130px;border:none;"></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptHeader">
|
||
<div class="AcceptBarCode">
|
||
<xsl:call-template name="BarCodeCreate">
|
||
<xsl:with-param name="Value">
|
||
<xsl:value-of select="'*'" />
|
||
<xsl:value-of select="ProInst_Code" />
|
||
<xsl:value-of select="'*'" />
|
||
</xsl:with-param>
|
||
</xsl:call-template>
|
||
</div>
|
||
<div class="AcceptTitle">
|
||
<xsl:value-of select="UserSetting/Company/Name" /> <20>ռ<EFBFBD><D5BC><EFBFBD>ִ
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptHeader">
|
||
<div class="AcceptBarCode">
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><xsl:value-of select="ProInst_Code" />    ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><xsl:value-of select="ProDef_Name" />
|
||
</div>
|
||
<20><><EFBFBD><EFBFBD>ʱ<EFBFBD>䣺<xsl:value-of select="ProInst_StartDate" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" style="text-align:center;"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
<td colspan="1">
|
||
<xsl:value-of select="ProInst_Name" />
|
||
<xsl:value-of select="ProInst_Name_OTHER" />
|
||
</td>
|
||
<td style="text-align:center;"><EFBFBD><EFBFBD>ϵ<EFBFBD>绰</td>
|
||
<td>
|
||
<xsl:value-of select="LinkMan_Telephone" />
|
||
</td>
|
||
</tr>
|
||
<tr class="AcceptMater">
|
||
<td colspan="1" style="text-align:center;">
|
||
<20>ռ<EFBFBD><BR /><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
</td>
|
||
<td colspan="4">
|
||
<ul>
|
||
<xsl:for-each select="Material">
|
||
<li>
|
||
<xsl:value-of select="position()" />
|
||
<xsl:value-of select="'<27><>'" />
|
||
<xsl:value-of select="Material_Name" />
|
||
<xsl:if test="number(Material_Count)+number(Material_PageCount)>0">
|
||
<xsl:value-of select="'<27><>'" />
|
||
<xsl:if test="number(Material_Count)>0">
|
||
<xsl:value-of select="Material_Count" /><EFBFBD><EFBFBD>
|
||
</xsl:if>
|
||
<xsl:if test="number(Material_PageCount)>0">
|
||
<xsl:value-of select="Material_PageCount" />ҳ
|
||
</xsl:if>
|
||
<xsl:value-of select="'<27><>'" />
|
||
</xsl:if>
|
||
</li>
|
||
</xsl:for-each>
|
||
</ul>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="1" style="text-align:center;">
|
||
<p style="margin-bottom:20px;"><EFBFBD><EFBFBD></p>
|
||
<p style="margin-top:20px;">ʾ</p>
|
||
</td>
|
||
<td colspan="4">
|
||
1.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ί<EFBFBD><CEAF><EFBFBD>й<EFBFBD><D0B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>Ϊ<EFBFBD><CEAA>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD>ͥ<EFBFBD><CDA5>Ա<EFBFBD><D4B1><EFBFBD>ݵǼ<DDB5><C7BC><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>ȡ<EFBFBD>á<EFBFBD><C3A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>з<EFBFBD><D0B7><EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD>Ǽ<EFBFBD><C7BC><EFBFBD>Ϣ<EFBFBD><CFA2>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㹤<EFBFBD><E3B9A4>ʱ<EFBFBD>ޣ<EFBFBD><DEA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>
|
||
<br />
|
||
2.<2E><>ѯ<EFBFBD>绰<EFBFBD><E7BBB0> <xsl:value-of select="UserSetting/Company/Telphone" />   
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptFooter" style="text-align:right;">
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD><xsl:value-of select="User_Name" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="3" class="AcceptFooter"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD>ǩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
<td colspan="2" class="AcceptFooter"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD>ǩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
<div class="PrintContainer">
|
||
<table border="0" cellpadding="0" cellspacing="0">
|
||
<tr style="height:0;">
|
||
<td style="width:10px;border:none;"></td>
|
||
<td style="width:30px;border:none;"></td>
|
||
<td style="width:auto;border:none;"></td>
|
||
<td style="width:80px;border:none;"></td>
|
||
<td style="width:130px;border:none;"></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptHeader">
|
||
<div class="AcceptBarCode">
|
||
<xsl:call-template name="BarCodeCreate">
|
||
<xsl:with-param name="Value">
|
||
<xsl:value-of select="'*'" />
|
||
<xsl:value-of select="ProInst_Code" />
|
||
<xsl:value-of select="'*'" />
|
||
</xsl:with-param>
|
||
</xsl:call-template>
|
||
</div>
|
||
<div class="AcceptTitle">
|
||
<xsl:value-of select="UserSetting/Company/Name" /> <20>ռ<EFBFBD><D5BC><EFBFBD><EFBFBD><EFBFBD>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptHeader">
|
||
<div class="AcceptBarCode">
|
||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><xsl:value-of select="ProInst_Code" />    ҵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><xsl:value-of select="ProDef_Name" />
|
||
</div>
|
||
<20><><EFBFBD><EFBFBD>ʱ<EFBFBD>䣺<xsl:value-of select="ProInst_StartDate" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" style="text-align:center;"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
<td colspan="1">
|
||
<xsl:value-of select="ProInst_Name" />
|
||
<xsl:value-of select="ProInst_Name_OTHER" />
|
||
</td>
|
||
<td style="text-align:center;"><EFBFBD><EFBFBD>ϵ<EFBFBD>绰</td>
|
||
<td>
|
||
<xsl:value-of select="LinkMan_Telephone" />
|
||
</td>
|
||
</tr>
|
||
<tr class="AcceptMater">
|
||
<td colspan="1" style="text-align:center;">
|
||
<20>ռ<EFBFBD><BR /><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
</td>
|
||
<td colspan="4">
|
||
<ul>
|
||
<xsl:for-each select="Material">
|
||
<li>
|
||
<xsl:value-of select="position()" />
|
||
<xsl:value-of select="'<27><>'" />
|
||
<xsl:value-of select="Material_Name" />
|
||
<xsl:if test="number(Material_Count)+number(Material_PageCount)>0">
|
||
<xsl:value-of select="'<27><>'" />
|
||
<xsl:if test="number(Material_Count)>0">
|
||
<xsl:value-of select="Material_Count" /><EFBFBD><EFBFBD>
|
||
</xsl:if>
|
||
<xsl:if test="number(Material_PageCount)>0">
|
||
<xsl:value-of select="Material_PageCount" />ҳ
|
||
</xsl:if>
|
||
<xsl:value-of select="'<27><>'" />
|
||
</xsl:if>
|
||
</li>
|
||
</xsl:for-each>
|
||
</ul>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="1" style="text-align:center;">
|
||
<p style="margin-bottom:20px;"><EFBFBD><EFBFBD></p>
|
||
<p style="margin-top:20px;">ʾ</p>
|
||
</td>
|
||
<td colspan="4">
|
||
1.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ί<EFBFBD><CEAF><EFBFBD>й<EFBFBD><D0B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>Ϊ<EFBFBD><CEAA>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD>ͥ<EFBFBD><CDA5>Ա<EFBFBD><D4B1><EFBFBD>ݵǼ<DDB5><C7BC><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>ȡ<EFBFBD>á<EFBFBD><C3A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>з<EFBFBD><D0B7><EFBFBD>Ȩ<EFBFBD><C8A8><EFBFBD>Ǽ<EFBFBD><C7BC><EFBFBD>Ϣ<EFBFBD><CFA2>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>֤<EFBFBD><D6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>գ<EFBFBD><D5A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㹤<EFBFBD><E3B9A4>ʱ<EFBFBD>ޣ<EFBFBD><DEA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֪<EFBFBD><D6AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>
|
||
<br />
|
||
2.<2E><>ѯ<EFBFBD>绰<EFBFBD><E7BBB0> <xsl:value-of select="UserSetting/Company/Telphone" />   
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="5" class="AcceptFooter" style="text-align:right;">
|
||
<20><><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD><xsl:value-of select="User_Name" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="3" class="AcceptFooter"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD>ǩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
<td colspan="2" class="AcceptFooter"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˣ<EFBFBD>ǩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
</xsl:template>
|
||
<xsl:template name="BarCodeCreate">
|
||
<xsl:param name="Value" />
|
||
<xsl:if test="string-length($Value)>0">
|
||
<xsl:choose>
|
||
<xsl:when test="substring($Value,1,1)='0'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|__||_||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='1'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|__|_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='2'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||__|_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='3'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_||__|_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='4'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|__||_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='5'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|__||_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='7'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|__|_||_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='6'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||__||_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='8'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|__|_||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='9'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||__|_||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='a'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_|__|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='b'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_|__|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='c'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_||_|__|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='d'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_||__|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='e'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_||__|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='f'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_||__|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='g'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_|__||_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='h'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_|__||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='i'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_|__||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='j'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_||__||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='k'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_|_|__||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='l'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_|_|__||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='m'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_||_|_|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='n'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_||_|__||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='o'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_||_|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='p'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_||_|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='r'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||_|_|_||__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='q'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_|_||__||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='s'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_||_|_||__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='t'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|_||_||__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='u'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||__|_|_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='v'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__||_|_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='w'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||__||_|_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='x'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__|_||_|_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='y'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||__|_||_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='z'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__||_||_|_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='-'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__|_|_||_||</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='*'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__|_||_||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='/'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__|__|_|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='%'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|_|__|__|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='+'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_|__|_|__|__|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
<xsl:when test="substring($Value,1,1)='.'">
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode">_||__|_|_||_|</xsl:with-param>
|
||
</xsl:call-template>
|
||
</xsl:when>
|
||
</xsl:choose>
|
||
<xsl:call-template name="BarCodeCreate">
|
||
<xsl:with-param name="Value" select="substring($Value,2,string-length($Value)-1)" />
|
||
</xsl:call-template>
|
||
</xsl:if>
|
||
</xsl:template>
|
||
<xsl:template name="BarCodeOutPut">
|
||
<xsl:param name="TempCode" />
|
||
<xsl:if test="string-length($TempCode)>0">
|
||
<xsl:choose>
|
||
<xsl:when test="substring($TempCode,1,1)='_'">
|
||
<span style="height:40px;line-height:40px;display:inline-block;width:1px;background-color:#fff;"></span>
|
||
</xsl:when>
|
||
<xsl:when test="substring($TempCode,1,1)='|'">
|
||
<span style="height:40px;line-height:40px;display:inline-block;width:0px;border:solid 1px #000;"></span>
|
||
</xsl:when>
|
||
</xsl:choose>
|
||
<xsl:call-template name="BarCodeOutPut">
|
||
<xsl:with-param name="TempCode" select="substring($TempCode,2,string-length($TempCode)-1)" />
|
||
</xsl:call-template>
|
||
</xsl:if>
|
||
</xsl:template>
|
||
</xsl:stylesheet>
|