Hi Davide,<br>thank you very much for your suggestions. I'm very pleased to see that you find interesting this topic..i have to think about the possibility to come there to discuss about this, cause i'm really really busy between thesis and job. But i'm interested and i'll think about it, and i'll write you a mail about this in the next days. I'm sorry to disturb you again, but i need to ask you some technical details, because i need to go on with my thesis work...<br>
<br>You suggest use of rule template, i read about this, but my doubt are:<br><br>- i find examples (<a href="http://planet.jboss.org/post/drools_rule_templates">http://planet.jboss.org/post/drools_rule_templates</a>), where data is taken from a spreadsheet and then used to generate rules, from the rule template. I see that particular instructions are used, such as <i>@{row.rowNumber},</i> that i think can be used only with data stored in a row-column format. So this example can't help me about data from xml. But i read that rule template can be used with generals data format, but i can't find anything from which i can start about xml data...can you help me in some way? Any example or web resourse?<br>
- i'm confusing about the translator: if i use rule template, i need a tranlsator too? Or is it an alternative? I think that is an alternative, because if i translate xml with an xsl stylesheet, i can otbtain directly the rules, without using rule template..is it correct, or i need translator also if i use rule template, and generate rules from xml data?<br>
<br>Thanks in advance,<br>Filippo<br><br><br><div class="gmail_quote">2012/5/4 Davide Sottara <span dir="ltr"><<a href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Filippo,<br>
I would use rule templates to generate rules from the XML, and then use them<br>
to create a new session, or add them to an existing session. The translator<br>
itself could be implemented in DRL? XSLT? ...?<br>
Inserting a Policy would hardly work generally, Drools does not (yet) have<br>
full prolog-like unification, so that solution would be feasible only if you<br>
could write meta-rules to join Policies and runtime data/facts.<br>
Leaving the technical details apart, the mapping between WS-Policy and rules<br>
is an interesting topic... would you be interested in coming to Bologna and<br>
spend a few hours discussing the problem in greater detail?<br>
Davide<br>
<br>
----------------<br>
Davide Sottara, PhD<br>
Post-Doc Affiliate<br>
Faculty of Engineering<br>
University of Bologna<br>
Italy<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Ws-Policy-and-drools-rules-tp3959245p3960925.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Ws-Policy-and-drools-rules-tp3959245p3960925.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>