<font size=3>Hi All! <br>
<br>
I'm trying to convert a .drl file to xml</font>
<br><font size=3>But im not sure how to approach for this,</font>
<br><font size=3>Please help me regarding the same.</font>
<br><font size=3><b>Here is my drl file:</b></font>
<br>
<br><font size=3>package com.rules</font>
<br><font size=3>import com.model.Bank;</font>
<br>
<br><font size=3>rule "Your First Rule"</font>
<br><font size=3> </font>
<br><font size=3> when</font>
<br><font size=3>
$b1:Bank(name=="Manohar", accntno=="533")</font>
<br><font size=3> then </font>
<br><font size=3> </font>
<br><font size=3>
$b1.setBalance(5000);</font>
<br><font size=3>
$b1.setDeposit($b1.getBalance()+1000);</font>
<br><font size=3>
</font>
<br><font size=3>end</font>
<br>
<br><font size=3>rule "Your Second Rule"</font>
<br><font size=3> </font>
<br><font size=3> when</font>
<br><font size=3>
$b1:Bank(name=="Ajay", accntno=="536")</font>
<br><font size=3> then </font>
<br><font size=3> </font>
<br><font size=3> </font>
<br><font size=3>
$b1.setBalance(6000);</font>
<br><font size=3>
$b1.setDeposit($b1.getBalance()+2000);</font>
<br><font size=3>
</font>
<br><font size=3>end</font>
<br>
<br>
<br><br>
<br>
<br><font size=3 face="sans-serif">Thanks and Regards<br>
Manohar Kokkula<br>
Mailto: manohar.kokkula@tcs.com<br>
</font><pre style="white-space:normal">=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain <br>confidential or privileged information. If you are <br>not the intended recipient, any dissemination, use, <br>review, distribution, printing or copying of the <br>information contained in this e-mail message <br>and/or attachments to it are strictly prohibited. If <br>you have received this communication in error, <br>please notify us by reply e-mail or telephone and <br>immediately and permanently delete the message <br>and any attachments. Thank you<br><br><br></pre>