I think Richard Patten wrote: > > Hello, > Is there anyway that I can create a listener in my JAVA program to listen for the >statement 'store' in JESS with a particular name, that is whenever a statement like > (store instruction 'test') > is called I want my JAVA program to recieve a notification. I want the notification >to be only when 'store' is called with the name 'instruction'. >
Yes, actually -- you could use "defadvice" (manual section 2.5). > This is another question, I am currently using an XML file to get the user to >input data into jess. The tags in this file are custom made by me, do you think if I >change the tags to RULEML it would be better, I searched the web for RULEML but it >seems to be in its infancy, and looks very complicated. Does JESS have any support >for RULEML. > > thanks > Richard. > Someday, Jess will support RuleML -- this is one of the major pieces of work planned for Jess 7.0. But right now, no. One of the neatest things about XML is XSLT -- the pattern language that lets you transform one form of XML into another. If you use your own format now, and eventually want to transform it into RuleML, it will be possible to write an XSLT stylesheet to do the conversion. Therefore, there's not much danger associated with using your own format. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 -------------------------------------------------------------------- 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] --------------------------------------------------------------------
