Project

General

Profile

« Previous | Next » 

Revision 1696

Added by Jing Tao almost 21 years ago

Make table cellspacing=0 and fixed some bugs.

View differences:

eml-party-2.0.0.xsl
37 37

  
38 38
  <xsl:template name="party">
39 39
      <xsl:param name="partyfirstColStyle"/>
40
      <table class="tabledefault" width="100%">
40
      <table xsl:use-attribute-sets="cellspacing" class="tabledefault" width="100%">
41 41
        <xsl:choose>
42 42
         <xsl:when test="references!=''">
43 43
          <xsl:variable name="ref_id" select="references"/>
......
106 106
   <!-- This template will be call by other place-->
107 107
   <xsl:template name="address">
108 108
      <xsl:param name="partyfirstColStyle"/>
109
      <table class="tableparty" width="100%">
109
      <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
110 110
        <xsl:choose>
111 111
         <xsl:when test="references!=''">
112 112
          <xsl:variable name="ref_id" select="references"/>
......
131 131
    <xsl:if test="normalize-space(.)!=''">
132 132
    <tr><td width="{$firstColWidth}" valign="top" class="{$partyfirstColStyle}">
133 133
        Address:</td><td width="{$secondColWidth}" >
134
    <table class="tableparty" width="100%">
134
    <table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%">
135 135
    <xsl:for-each select="deliveryPoint">
136 136
    <tr><td><xsl:value-of select="."/><xsl:text>, </xsl:text></td></tr>
137 137
    </xsl:for-each>

Also available in: Unified diff