no, my mistake. Its not as simple as that.
The simplest (although perhaps not the ideal in all cases) is to create a
3rd mapping that joins them (it is simply an alternative mapping). You could
also create your own "or" mapping, and it would be possible to make it work
how you want, with a little practice.
On 4/10/06, Michael Neale <[EMAIL PROTECTED]> wrote:
>
> you should be able to do it all on one line, similar to how you showed
> there.
> You will need to change the DSL for "There exists a Person with name of
> {name}" to be something like:
>
> There exists a Person with name of {name}. (with a dot at the end, or
> something to "wrap" the {name}.
>
>
> On 4/10/06, Unknown <[EMAIL PROTECTED]> wrote:
> >
> > How can I do in my DRL a link "OR" between two rules declared in my DSL.
> >
> > Example :
> > DSL :
> > There exists a Person with name of {name} --> Person (name=="{name}")
> > Person is a least {age} years old --> Person (age>"{age}")
> >
> > I want :
> > If There exists a Person with name of {name} or Person is a least {age}
> > years
> > old
> > Then ...
> >
> > In my DRL, I want to link with "OR" these two rules, how can I do ???
> >
> >
> >
>