Jayaram, JibX looks like its in line with what we want:
http://jibx.sourceforge.net/tutorial/binding-start.html

Of course to do this, an XML structure needs to be defined - JibX can help
there with its schema generator. But like I said, I have never used it
before so it might be worth some more research.
I wouldn't worry about RuleML specifically just yet, just to XML and back
with a 1 to 1 sort of format would be a lot of the way there.

Michael.

On 3/20/06, Michael Neale <[EMAIL PROTECTED]> wrote:
>
> All of the classes in this package represent that for Drools 3: 
> http://anonsvn.labs.jboss.com/trunk/labs/jbossrules/drools-compiler/src/main/java/org/drools/lang/descr/
>
>
> The "top" of the object graph is PackageDescr- everything hangs off that.
>
> The challenge is that it is an existing object model. I know JAXB 1 did
> not handle those situations. XMLBeans may, don't know much about Eclipse
> EMF.
> Certainly things like xstream can go to XML and back, but they will not
> necessarily conform to a schema, which is what we would like.
>
>
> On 3/20/06, Jayaram C S <[EMAIL PROTECTED]> wrote:
>
> > Michael Neale < michael.neale <at> gmail.com> writes:
> >
> > >
> > > well going direct from RuleML to the AST may be possible with the
> > right
> > > mapping tools, I am sure (but I am a bit out of touch with those
> > tools).
> > > Going via a "native" XML format may be easier, as it means that
> > different
> > > versions of RuleML/whatever replaces it can be supported with XSLT,
> > which
> > > may be easier for people to maintain then direct mappings.
> > >
> > > Any XML mapping gurus out there please speak up !
> > >
> >
> >
> >
> > Can you please tell me where to find the Meta data for AST. I will try
> > to do a
> > mapping exercise and let you know of the results.
> > There are quite a few tools available. Mostly based on JAXB & JAXP .
> > XMLBeans
> > might be of great help .
> >
> > Also a possibility is using XSD component of Eclipse Framework (EMF). If
> > any one
> > has worked on these, may be they can help.
> >
> > Jayaram
> >
> >
>

Reply via email to