Revision 1702
Added by Jing Tao about 21 years ago
eml-party-2.0.0.xsl | ||
---|---|---|
133 | 133 |
Address:</td><td width="{$secondColWidth}" > |
134 | 134 |
<table xsl:use-attribute-sets="cellspacing" class="tableparty" width="100%"> |
135 | 135 |
<xsl:for-each select="deliveryPoint"> |
136 |
<tr><td><xsl:value-of select="."/><xsl:text>, </xsl:text></td></tr> |
|
136 |
<tr><td class="{$secondColStyle}"><xsl:value-of select="."/><xsl:text>, </xsl:text></td></tr>
|
|
137 | 137 |
</xsl:for-each> |
138 | 138 |
<!-- only include comma if city exists... --> |
139 |
<tr><td> |
|
139 |
<tr><td class="{$secondColStyle}" >
|
|
140 | 140 |
<xsl:if test="normalize-space(city)!=''"> |
141 | 141 |
<xsl:value-of select="city"/><xsl:text>, </xsl:text> |
142 | 142 |
</xsl:if> |
... | ... | |
153 | 153 |
<xsl:template match="phone" mode="party"> |
154 | 154 |
<xsl:param name="partyfirstColStyle"/> |
155 | 155 |
<tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" > |
156 |
Phone:</td><td width="{$secondColWidth}" > |
|
156 |
Phone:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
157 | 157 |
<xsl:value-of select="."/> |
158 | 158 |
<xsl:if test="normalize-space(./@phonetype)!=''"> |
159 | 159 |
<xsl:text> (</xsl:text><xsl:value-of select="./@phonetype"/><xsl:text>)</xsl:text> |
... | ... | |
165 | 165 |
<xsl:param name="partyfirstColStyle"/> |
166 | 166 |
<xsl:if test="normalize-space(.)!=''"> |
167 | 167 |
<tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" > |
168 |
Email Address:</td><td width="{$secondColWidth}"> |
|
168 |
Email Address:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
169 | 169 |
<a><xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute><xsl:value-of select="./entityName"/> |
170 | 170 |
<xsl:value-of select="."/></a></td></tr> |
171 | 171 |
</xsl:if> |
... | ... | |
176 | 176 |
<xsl:param name="partyfirstColStyle"/> |
177 | 177 |
<xsl:if test="normalize-space(.)!=''"> |
178 | 178 |
<tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" > |
179 |
Web Address:</td><td width="{$secondColWidth}"> |
|
179 |
Web Address:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
180 | 180 |
<xsl:value-of select="."/></td></tr> |
181 | 181 |
</xsl:if> |
182 | 182 |
</xsl:template> |
... | ... | |
186 | 186 |
<xsl:param name="partyfirstColStyle"/> |
187 | 187 |
<xsl:if test="normalize-space(.)!=''"> |
188 | 188 |
<tr><td width="{$firstColWidth}" class="{$partyfirstColStyle}" > |
189 |
Id:</td><td width="{$secondColWidth}"> |
|
189 |
Id:</td><td width="{$secondColWidth}" class="{$secondColStyle}">
|
|
190 | 190 |
<xsl:value-of select="."/></td></tr> |
191 | 191 |
</xsl:if> |
192 | 192 |
</xsl:template> |
Also available in: Unified diff
Revise some templates and in build file, when we compile, it would include harvest.