<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
(I am resending this message because the original one fetched no answers :-) )<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="WIDTH: 281pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=374 border=0>
<COLGROUP>
<COL style="WIDTH: 117pt" width=156>
<COL style="WIDTH: 164pt" width=218>
<TBODY>
<TR style="HEIGHT: 15.75pt" height=21>
<TD class=EC_xl66 style="WIDTH: 117pt; HEIGHT: 15.75pt" width=156 height=21><B><FONT color=#000000>RuleSet</FONT></B></TD>
<TD class=EC_xl67 style="BORDER-LEFT: medium none; WIDTH: 164pt" width=218><B><FONT color=#000000>krishna.drools.decisiontable</FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD class=EC_xl70 style="HEIGHT: 15pt" height=20><B><FONT color=#000000>Import</FONT></B></TD>
<TD class=EC_xl70><B><FONT color=#000000>krishna.drools.*</FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="HEIGHT: 15pt" height=20><B><FONT color=#000000><BR></FONT></B></TD>
<TD><B><FONT color=#000000><BR></FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD class=EC_xl68 style="HEIGHT: 15pt" height=20><B><FONT color=#000000>RuleTable KrishnasTest</FONT></B></TD>
<TD><B><FONT color=#000000><BR></FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="HEIGHT: 15pt" height=20><B><FONT color=#000000>CONDITION</FONT></B></TD>
<TD><B><FONT color=#000000>ACTION</FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="HEIGHT: 15pt" height=20><B><FONT color=#000000>MyCompare($cn:name)</FONT></B></TD>
<TD><B><FONT color=#000000><BR></FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="HEIGHT: 15pt" height=20><B><FONT color=#000000>MyOriginal</FONT></B></TD>
<TD><B><FONT color=#000000><BR></FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="HEIGHT: 15pt" height=20><B><FONT color=#000000>name==$cn</FONT></B></TD>
<TD><B><FONT color=#000000>System.out.println("$param");</FONT></B></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD class=EC_xl69 style="HEIGHT: 15pt" height=20><B><FONT color=#000000>CheckTheName</FONT></B></TD>
<TD class=EC_xl69><B><FONT 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 color=#000000><BR></FONT></B></TD>
<TD align=right><B><FONT 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. Am I making the correct use of decision tables in this scenario?<BR>
&nbsp;<BR>
Would appreciate any pointers.<BR><BR>Thank you,<BR><BR>Krishna<BR><BR><BR>

<HR>
<BR>
Get 5 GB of storage with Windows Live Hotmail. <A href="http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008">Sign up today.</A><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>