<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I am attempting to use decision tables to compare the attribute values in two objects. I have been successful using drl files, but with an excel, I get a parse error, the excel looks something like this - <br><br>
 <table style="border-collapse: collapse; width: 281pt;" border="0" cellpadding="0" cellspacing="0" width="374"><col style="width: 117pt;" width="156">
 <col style="width: 164pt;" width="218">
 <tbody><tr style="height: 15.75pt;" height="21">
  <td class="xl66" style="height: 15.75pt; width: 117pt;" width="156" height="21"><b><font style="" color="#000000">RuleSet</font></b></td>
  <td class="xl67" style="border-left: medium none; width: 164pt;" width="218"><b><font style="" color="#000000">krishna.drools.decisiontable</font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td class="xl70" style="height: 15pt;" height="20"><b><font style="" color="#000000">Import</font></b></td>
  <td class="xl70"><b><font style="" color="#000000">krishna.drools.*</font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000"><br></font></b></td>
  <td><b><font style="" color="#000000"><br></font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td class="xl68" style="height: 15pt;" height="20"><b><font style="" color="#000000">RuleTable KrishnasTest</font></b></td>
  <td><b><font style="" color="#000000"><br></font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000">CONDITION</font></b></td>
  <td><b><font style="" color="#000000">ACTION</font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000">MyCompare($cn:name)</font></b></td>
  <td><b><font style="" color="#000000"><br></font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000">MyOriginal</font></b></td>
  <td><b><font style="" color="#000000"><br></font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000">name==$cn</font></b></td>
  <td><b><font style="" color="#000000">System.out.println("$param");</font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td class="xl69" style="height: 15pt;" height="20"><b><font style="" color="#000000">CheckTheName</font></b></td>
  <td class="xl69"><b><font style="" color="#000000">SetValueOfPercent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br></font></b></td>
 </tr>
 <tr style="height: 15pt;" height="20">
  <td style="height: 15pt;" height="20"><b><font style="" color="#000000"><br></font></b></td>
  <td align="right"><b><font style="" color="#000000">10</font></b></td>
 </tr>
</tbody></table><br><br>CheckTheName and SetValueOfPercent are column headers.<br>I am not sure how to define the MyCompare.name as the value being compared. Would appreciate any pointers.<br><br>Thank you,<br><br>Krishna<br><br /><hr />Get 5 GB of storage with Windows Live Hotmail. <a href='http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008' target='_new'>Sign up today.</a></body>
</html>