<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 &quot;Your First Rule&quot;</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; when</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1:Bank(name==&quot;Manohar&quot;, accntno==&quot;533&quot;)</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; then </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1.setBalance(5000);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1.setDeposit($b1.getBalance()+1000);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </font>
<br><font size=3>end</font>
<br>
<br><font size=3>rule &quot;Your Second Rule&quot;</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; when</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1:Bank(name==&quot;Ajay&quot;, accntno==&quot;536&quot;)</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; then </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1.setBalance(6000);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; $b1.setDeposit($b1.getBalance()+2000);</font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </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>