First I wanted to thank everyone for all of their
help so far.....

Now, I have my java program working, parsing in XML
as jess facts, and have defined rules for matching.
I can get my program to run by calling the
Rete.run() method throughout the program, but that is
not giving me the desired results. When I use
the Rete.runUntilHalt() method, my program
hangs. Not even a System.out.println() gets
run. 

With using the XML extensions, I need to
call: 
(load-package XMLFunctions)
(CreateID)
(LoadXML <filename>)
//define a rule that will cause the XML to be parsed
(defrule rule1 (......=> (ParseXML ?x ?u))
//This run will cause the XML to be parsed into facts
(run)
(batch jessRulesFile)
(run)

I am wondering how to put the above in a loop
and use the runUntilHalt() method.


Thanks.
Bob








__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to