WAM090. Appendix

List Row Weblet iii_ListRow (XSL)

<?xml version="1.0" encoding="UTF-8"?>
<!-- LANSA Web -->
<xsl:transform version="1.0" exclude-result-prefixes="lxml wd"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:lxml="http://www.lansa.com/2002/XML/Runtime-Data"
xmlns:wd="http://www.lansa.com/2002/XSL/Weblet-Design"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:import href="std_types.xsl" />
<xsl:import href="std_keys.xsl" />
<xsl:import href="std_anchor.xsl" />
<xsl:output method="xml" omit-xml-declaration="yes" encoding="UTF-8"
indent="no" />
<wd:external-resources>
<wd:style name="XWT08J" />
<wd:style name="XWT08L101" />
</wd:external-resources>
<wd:definition>
<wd:group name="Custom Weblets" />
</wd:definition>
<lxml:data>
<lxml:list name="">
<lxml:list-header>
<lxml:header name="W1LABEL1">
<lxml:heading-1>List Field Label 1</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1FIELD1">
<lxml:heading-1>List Field 1</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1LABEL2">
<lxml:heading-1>List Field Label 2</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1FIELD2">
<lxml:heading-1>List Field 2</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1LABEL3">
<lxml:heading-1>List Field Label 3</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1FIELD3">
<lxml:heading-1>List Field 3</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1LABEL4">
<lxml:heading-1>List Field Label 4</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
<lxml:header name="W1FIELD4">
<lxml:heading-1>List Field 4</lxml:heading-1>
<lxml:heading-2 />
<lxml:heading-3 />
</lxml:header>
</lxml:list-header>
<lxml:list-entries>
<lxml:entry>
<lxml:column name="W1LABEL1" id="SAMPLE_LIST.0001.W1LABEL1">Field 1 Label Col 2</lxml:column>
<lxml:column name="W1FIELD1" id="SAMPLE_LIST.0001.W1FIELD1">Field 1 Value Col 2</lxml:column>
<lxml:column name="W1LABEL2" id="SAMPLE_LIST.0001.W1LABEL2">Field 2 Label Col 3</lxml:column>
<lxml:column name="W1FIELD2" id="SAMPLE_LIST.0001.W1FIELD2">Field 2 Value Col 3</lxml:column>
<lxml:column name="W1LABEL3" id="SAMPLE_LIST.0001.W1LABEL3">Field 3 Label Col 2</lxml:column>
<lxml:column name="W1FIELD3" id="SAMPLE_LIST.0001.W1FIELD3">Field 3 Value Col 2</lxml:column>
<lxml:column name="W1LABEL4" id="SAMPLE_LIST.0001.W1LABEL4">Field 4 Label Col 3</lxml:column>
<lxml:column name="W1FIELD4" id="SAMPLE_LIST.0001.W1FIELD4">Field 4 Value Col 3</lxml:column>
<lxml:column name="W1LABEL5" id="SAMPLE_LIST.0001.W1LABEL3">Field 5 Label Col 2</lxml:column>
<lxml:column name="W1FIELD5" id="SAMPLE_LIST.0001.W1FIELD3">Field 5 Value Col 2</lxml:column>
<lxml:column name="W1LABEL6" id="SAMPLE_LIST.0001.W1LABEL4">Field 6 Label Col 3</lxml:column>
<lxml:column name="W1FIELD6" id="SAMPLE_LIST.0001.W1FIELD4">Field 6 Value Col 3</lxml:column>
<lxml:column name="W1IMAGE" id="SAMPLE_LIST.0001.W1IMAGE">IMAGE_FILE</lxml:column>
<lxml:column name="W1LABEL7" id="SAMPLE_LIST.0002.W1LABEL7">Field 7 Label Legend</lxml:column>
<lxml:column name="W1FIELD7" id="SAMPLE_LIST.0002.W1FIELD7">Field 7 Value Legend</lxml:column>
</lxml:entry>
<lxml:entry>
<lxml:column name="W1LABEL1" id="SAMPLE_LIST.0001.W1LABEL1">Field 1 Label Col 2</lxml:column>
<lxml:column name="W1FIELD1" id="SAMPLE_LIST.0001.W1FIELD1">Field 1 Value Col 2</lxml:column>
<lxml:column name="W1LABEL2" id="SAMPLE_LIST.0001.W1LABEL2">Field 2 Label Col 3</lxml:column>
<lxml:column name="W1FIELD2" id="SAMPLE_LIST.0001.W1FIELD2">Field 2 Value Col 3</lxml:column>
<lxml:column name="W1LABEL3" id="SAMPLE_LIST.0001.W1LABEL3">Field 3 Label Col 2</lxml:column>
<lxml:column name="W1FIELD3" id="SAMPLE_LIST.0001.W1FIELD3">Field 3 Value Col 2</lxml:column>
<lxml:column name="W1LABEL4" id="SAMPLE_LIST.0001.W1LABEL4">Field 4 Label Col 3</lxml:column>
<lxml:column name="W1FIELD4" id="SAMPLE_LIST.0001.W1FIELD4">Field 4 Value Col 3</lxml:column>
<lxml:column name="W1LABEL5" id="SAMPLE_LIST.0001.W1LABEL3">Field 5 Label Col 2</lxml:column>
<lxml:column name="W1FIELD5" id="SAMPLE_LIST.0001.W1FIELD3">Field 5 Value Col 2</lxml:column>
<lxml:column name="W1LABEL6" id="SAMPLE_LIST.0001.W1LABEL4">Field 6 Label Col 3</lxml:column>
<lxml:column name="W1FIELD6" id="SAMPLE_LIST.0001.W1FIELD4">Field 6 Value Col 3</lxml:column>
<lxml:column name="W1IMAGE" id="SAMPLE_LIST.0001.W1IMAGE">IMAGE_FILE</lxml:column>
<lxml:column name="W1LABEL7" id="SAMPLE_LIST.0002.W1LABEL7">Field 7 Label Legend</lxml:column>
<lxml:column name="W1FIELD7" id="SAMPLE_LIST.0002.W1FIELD7">Field 7 Value Legend</lxml:column>
<!-- <lxml:column name="W1LABEL8" id="SAMPLE_LIST.0002.W1LABEL8">Field Label Row 8</lxml:column> -->
</lxml:entry>
</lxml:list-entries>
</lxml:list>
</lxml:data>
<wd:template name="iii_ListRow">
<wd:description icon="icons/std_grid.ico">
<wd:name lang="ENG">Training List Row Weblet</wd:name>
</wd:description>
<wd:param name="TRN List">
<wd:tip lang="ENG">The name of the weblet.</wd:tip>
</wd:param>
<wd:param name="listname">
<wd:tip lang="ENG">The name of the list to use to populate the cells in the grid.</wd:tip>
</wd:param>
<wd:param name="List_field_label_1">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 1, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_value_1">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 1, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_label_2">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 1, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_value_2">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 1, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_label_3">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 2, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_value_3">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 2, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_label_4">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 2, Col 3.</wd:tip>
</wd:param>
<wd:param name="List_field_value_4">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 2, Col 3.</wd:tip>
</wd:param>
<wd:param name="List_field_label_5">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 3, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_value_5">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 3, Col 2.</wd:tip>
</wd:param>
<wd:param name="List_field_label_6">
<wd:tip lang="ENG">The name of the field in the list to use as a label in list entry, Row 3, Col 3.</wd:tip>
</wd:param>
<wd:param name="List_field_value_6">
<wd:tip lang="ENG">The name of the list field to show in list entry, Row 3, Col 3.</wd:tip>
</wd:param>
<wd:param name="List_field_label_7">
<wd:tip lang="ENG">The name of the field in the list to use as a label in the fieldset Legend.</wd:tip>
</wd:param>
<wd:param name="List_field_value_7">
<wd:tip lang="ENG">The name of the list field to show in t.</wd:tip>
</wd:param>
<wd:param name="even_row_class">
<wd:tip lang="ENG">The Cascading Stylesheet class for even row entries in the list.</wd:tip>
</wd:param>
<wd:param name="odd_row_class">
<wd:tip lang="ENG">The Cascading Stylesheet class for odd row entries in the list.</wd:tip>
</wd:param>
</wd:template>

<xsl:template name="iii_ListRow">
<xsl:param name="listname" wd:type="std:list_name_out" />
<xsl:param name="List_field_label_1" select="'W1LABEL1'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_1" select="'W1FIELD1'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_2" select="'W1LABEL2'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_2" select="'W1FIELD2'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_3" select="'W1LABEL3'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_3" select="'W1FIELD3'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_4" select="'W1LABEL4'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_4" select="'W1FIELD4'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_5" select="'W1LABEL5'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_5" select="'W1FIELD5'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_6" select="'W1LABEL6'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_6" select="'W1FIELD6'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_label_7" select="'W1LABEL7'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_field_value_7" select="'W1FIELD7'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="List_image_field" select="'W1IMAGE'"
wd:type="std:list_field_name[list=$listname]" />
<xsl:param name="even_row_class" select="'even_row'"
wd:type="std:css_style_class[tagName='table']" />
<xsl:param name="odd_row_class" select="'odd_row'"
wd:type="std:css_style_class[tagName='table']" />
<xsl:param name="hide_if" select="false()" wd:type="std:boolean"
wd:tip_id="" />
<input type="hidden" name="RESULTS.."
value="{count(/lxml:data/lxml:lists/lxml:list[@name=$listname]/lxml:list-entries/lxml:entry[1])}" />
<xsl:if test="$listname != '' and not($lweb_design_mode)">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<xsl:for-each select="/lxml:data/lxml:lists/lxml:list[@name=$listname]/lxml:list-entries/lxml:entry">
<xsl:call-template name="iii_ListRow.private">
<xsl:with-param name="listrow" select="." />
<xsl:with-param name="listname" select="$listname" />
<xsl:with-param name="List_field_label_1"
select="$List_field_label_1" />
<xsl:with-param name="List_field_value_1"
select="$List_field_value_1" />
<xsl:with-param name="List_field_label_2"
select="$List_field_label_2" />
<xsl:with-param name="List_field_value_2"
select="$List_field_value_2" />
<xsl:with-param name="List_field_label_3"
select="$List_field_label_3" />
<xsl:with-param name="List_field_value_3"
select="$List_field_value_3" />
<xsl:with-param name="List_field_label_4"
select="$List_field_label_4" />
<xsl:with-param name="List_field_value_4"
select="$List_field_value_4" />
<xsl:with-param name="List_field_label_5"
select="$List_field_label_5" />
<xsl:with-param name="List_field_value_5"
select="$List_field_value_5" />
<xsl:with-param name="List_field_label_6"
select="$List_field_label_6" />
<xsl:with-param name="List_field_value_6"
select="$List_field_value_6" />
<xsl:with-param name="List_field_label_7"
select="$List_field_label_7" />
<xsl:with-param name="List_field_value_7"
select="$List_field_value_7" />
<xsl:with-param name="List_image_field"
select="$List_image_field" />
<xsl:with-param name="even_row_class"
select="$even_row_class" />
<xsl:with-param name="odd_row_class"
select="$odd_row_class" />
<xsl:with-param name="hide_if" select="$hide_if" />
</xsl:call-template>
</xsl:for-each>
</td>
</tr>
</table>
</xsl:if>
<!-- =================================================== -->
<xsl:if test="not($hide_if) or $lweb_design_mode">
<xsl:if test="$lweb_design_or_preview">
<xsl:call-template name="std_script_reference.private" />
<xsl:call-template name="std_style_reference.private">
<xsl:with-param name="caller_name" select="'std_button.xsl'" />
</xsl:call-template>
</xsl:if>
<!-- ================================================== -->
<xsl:if test="$listname = '' or $lweb_design_mode">
<table cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td>
<xsl:for-each select="document('')/*/lxml:data/lxml:list/lxml:list-entries/lxml:entry">
<xsl:call-template name="iii_ListRow.private">
<xsl:with-param name="listrow" select="." />
<xsl:with-param name="listname" select="$listname" />
<xsl:with-param name="List_field_label_1"
select="$List_field_label_1" />
<xsl:with-param name="List_field_value_1"
select="$List_field_value_1" />
<xsl:with-param name="List_field_label_2"
select="$List_field_label_2" />
<xsl:with-param name="List_field_value_2"
select="$List_field_value_2" />
<xsl:with-param name="List_field_label_3"
select="$List_field_label_3" />
<xsl:with-param name="List_field_value_3"
select="$List_field_value_3" />
<xsl:with-param name="List_field_label_4"
select="$List_field_label_4" />
<xsl:with-param name="List_field_value_4"
select="$List_field_value_4" />
<xsl:with-param name="List_field_label_5"
select="$List_field_label_5" />
<xsl:with-param name="List_field_value_5"
select="$List_field_value_5" />
<xsl:with-param name="List_field_label_6"
select="$List_field_label_6" />
<xsl:with-param name="List_field_value_6"
select="$List_field_value_6" />
<xsl:with-param name="List_image_field"
select="$List_image_field" />
<xsl:with-param name="even_row_class"
select="$even_row_class" />
<xsl:with-param name="odd_row_class"
select="$odd_row_class" />
<xsl:with-param name="hide_if" select="$hide_if" />
</xsl:call-template>
</xsl:for-each>
</td>
</tr>
</tbody>
</table>
</xsl:if>
</xsl:if>
</xsl:template>

<xsl:template name="iii_ListRow.private">
<xsl:param name="listrow" select="." />
<xsl:param name="listname" />
<xsl:param name="List_field_label_1" />
<xsl:param name="List_field_value_1" />
<xsl:param name="List_field_label_2" />
<xsl:param name="List_field_value_2" />
<xsl:param name="List_field_label_3" />
<xsl:param name="List_field_value_3" />
<xsl:param name="List_field_label_4" />
<xsl:param name="List_field_value_4" />
<xsl:param name="List_field_label_5" />
<xsl:param name="List_field_value_5" />
<xsl:param name="List_field_label_6" />
<xsl:param name="List_field_value_6" />
<xsl:param name="List_field_label_7" />
<xsl:param name="List_field_value_7" />
<xsl:param name="List_image_field" />
<xsl:param name="even_row_class" />
<xsl:param name="odd_row_class" />
<!-- xxxxxxxxxxxxxxxxxxxxxxxx -->
<fieldset>
<legend class="caption">
<b>
<xsl:value-of select="lxml:column[@name=$List_field_label_7] " />&#160;</b>
<xsl:value-of select="lxml:column[@name=$List_field_value_7]" />
</legend>
<table cellspacing="0" cellpadding="0" width="750" border="0"
__evenrc="{$even_row_class}" __oddrc="{$odd_row_class}">
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="position() mod 2 = 0">
<xsl:value-of select="$even_row_class" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$odd_row_class" />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<tbody>
<tr>
<td style="height: 20px;" valign="middle" width="100"
align="center">
<a class="thumbnail">
<span>
<img src="/images/{lxml:column[@name=$List_image_field]}" />
<br />
</span>
</a>
</td>
<td>
<table>
<tbody>
<tr>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_1 = 'W1LABEL1'">
<xsl:value-of select="lxml:column[@name=$List_field_label_1]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_1" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_1]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_1 = 'W1FIELD1'">
<xsl:value-of select="lxml:column[@name=$List_field_value_1]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_1" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_1]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_label_2 = 'W1LABEL2'">
<xsl:value-of select="lxml:column[@name=$List_field_label_2]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_2" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_2]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_2 = 'W1FIELD2'">
<xsl:value-of select="lxml:column[@name=$List_field_value_2]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_2" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_2]" />
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_label_3 = 'W1LABEL3'">
<xsl:value-of select="lxml:column[@name=$List_field_label_3]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_3" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_3]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_3 = 'W1FIELD3'">
<xsl:value-of select="lxml:column[@name=$List_field_value_3]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_3" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_3]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_label_4 = 'W1LABEL4'">
<xsl:value-of select="lxml:column[@name=$List_field_label_4]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_4" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_4]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_4 = 'W1FIELD4'">
<xsl:value-of select="lxml:column[@name=$List_field_value_4]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_4" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_4]" />
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_label_5 = 'W1LABEL5'">
<xsl:value-of select="lxml:column[@name=$List_field_label_5]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_5" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_5]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_5 = 'W1FIELD5'">
<xsl:value-of select="lxml:column[@name=$List_field_value_5]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_5" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_5]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td class="caption" valign="middle" width="10%">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_label_6 = 'W1LABEL6'">
<xsl:value-of select="lxml:column[@name=$List_field_label_6]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_label_6" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_label_6]" />
</xsl:otherwise>
</xsl:choose>
</td>
<td valign="middle" width="25%" align="left">
<xsl:choose>
<xsl:when test="$lweb_design_mode">
<xsl:choose>
<xsl:when test="$List_field_value_6 = 'W1FIELD6'">
<xsl:value-of select="lxml:column[@name=$List_field_value_6]" />
</xsl:when>
<xsl:otherwise>Value of &#160;<xsl:value-of select="$List_field_value_6" />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="lxml:column[@name=$List_field_value_6]" />
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</fieldset>
</xsl:template>
</xsl:transform>