Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
XML
<div class="form_section">
        <h1>
          <span>Non-HMS Card Plans</span>
        </h1>
        <div class="form_row_for_tables">
          <table class="non_global_card_plans_table" border="0" cellpadding="0" cellspacing="0" >
            <thead>
              <tr>
                <th class="col1" >
                  <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
                </th>
                <th class="col2">Card Program</th>
                <th class="col3">Merchant Number</th>
                <th class="col4">Clearance Indicator</th>
                <th class="no_border">Rate</th>

              </tr>
            </thead>
            <tbody>
              <xsl:for-each select="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card">
                <tr>
                  <td>
                    <asp:CheckBox ID="cb_Non{M2:Name}"    runat="server"/>
                  </td>
                  <td >
                    <xsl:value-of select="./M2:Name"/>
                  </td>
                  <td class="no_border">
                    <asp:TextBox ID="txt_NonMerchantNo{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="false" runat="server" onkeypress="return checkStringNumber(event,this);"></asp:TextBox>
                  </td>
                  <td>
                    <xsl:choose>
                      <xsl:when test="count(./M2:Options[@Display = 'dropdown']) > 0">
                        <asp:DropDownList ID="ddl_NonClearanceInd{M2:Name}" Enabled="false" runat="server">
                          <xsl:for-each select="./M2:Options/M2:Option[@Name = 'CardName']">
                            <asp:ListItem Value="{@ProviderName}">
                              <xsl:value-of select="."/>
                            </asp:ListItem>
                          </xsl:for-each>
                        </asp:DropDownList>
                      </xsl:when>
                      <xsl:otherwise>
                        <asp:label id="lbl_NonClearanceInd{M2:Name}" runat="server" text="{./M2:Options/M2:Option[@Name = 'CardName']/@ProviderName}" ></asp:label>
                      </xsl:otherwise>
                    </xsl:choose>
                  </td>
                  <xsl:if test="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card[@CardID='5006']">
                <td class="no_border">
                  <asp:TextBox ID="txt_Rate{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="true" runat="server" Text="2.75%" onkeypress="return checkStringNumber(event,this);"></asp:TextBox>
                </td>
              </xsl:if>
                 </tr>
              </xsl:for-each>

              <!--<xsl:if test="/M2:Cards/M2:SalesUnit/M2:NonGlobalCards/M2:Card[@CardID='5006']">
                <td class="no_border">
                  <asp:TextBox ID="txt_Rate{M2:Name}" CssClass="text_medium" MaxLength="17" Enabled="true" runat="server" Text="2.75%" onkeypress="return checkStringNumber(event,this);"></asp:TextBox>
                </td>
              </xsl:if>-->
            </tbody>
          </table>
        </div>
Posted
Updated 23-Sep-13 18:46pm
v2
Comments
CHill60 20-Sep-13 16:47pm    
Your question is not really clear. And the word is "please" not "pllzzz" ... same number of keystrokes ironically. By including "text-speak" in your title you are putting people off reading your question

1 solution

Not able to understand your problem. Can you please explain little bit more.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900