On 9 March 2011 13:07, groovenarula <span dir="ltr"><<a href="mailto:gnarula1@la-z-boy.com">gnarula1@la-z-boy.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
XXX YYY "one,two,three"<br>
<br>
where XXX, YYY will be in 2 individual cells that will hold the values for<br>
one fact, and the "one,two,three" will be in a third cell will from which I<br>
need to create separate instances for each value of fact #2.<br>
<br>
I'm trying to see if there's a way to use the current spreadsheet without<br>
changing it drastically. That will make the solution a lot more acceptable.<br>
<br></blockquote><div><br>Looks like reading the cells and generating Java code to insert the facts<br>is the cheapest solution. I see no point in constructing rules just to get<br>some facts into WM.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
W - Can you please elaborate on your last statement :<br>
<br>
It's doable from a spreadsheet, using the "forall" substitution.<br>
<br>
If I'm not mistake that's what I would use if it's a decision table - Would<br>
I be able to use 'forall' even if I'm using a template to insert the facts ?<br></blockquote><div><br>Yes, I was referring to decision tables. No, that "forall" is done by the DT parser/expander.<br>
<br>-W<br></div></div><br>