[rules-users] plz help me regarding .drl to xml conversion

Mark Proctor mproctor at codehaus.org
Wed Mar 21 17:19:33 EDT 2007


se the DrlDumper on the parser object.

Mark
Niloy Debnath wrote:
> hi,
>
> I'm reading the .drl file as shown in the following code to generate 
> the XML file:
>  
> final Reader source = new 
> InputStreamReader(honestpoliticiandrl2xml.class.getResourceAsStream( 
> "HonestPolitician.drl" ) );
>      final DrlParser drlp= new DrlParser();
>      final PackageDescr astx = drlp.parse(source);
>  
> Instead:
>  
> I've to construct the rules objects and generate xml file from 
> them.plz tell me how do i do that,means how do i construct the rules 
> object?
>
> thanking u,
>
> Niloy Debnath                         
>
> ------------------------------------------------------------------------
> Here's a new way to find what you're looking for - Yahoo! Answers 
> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070321/15358b1d/attachment.html 


More information about the rules-users mailing list