Thanks alot for the answer, the save-fact-xml is a great command. but how can i save the file in a given folder? Jess saves the file in the main folder of the program, i want to save it somewhere else, how? thanks in advance, M.Ismail
> From: [EMAIL PROTECTED]> Subject: Re: JESS: saving to xml file> Date: Mon, 29 > Jan 2007 09:38:50 -0500> To: [email protected]> > > On Jan 29, 2007, at > 7:46 AM, M Ismail wrote:> > >> > Hi,> >> > I would like to know if it is > possible to save all the inserted > > facts to an xml file?> > and what is > the best way to do it?> > See the (save-facts-xml) command, documented in the > "Jess Function > List", Chapter 16 in the manual.> > >> >> > and/or if > writing the facts from java straight to xml is easier or > > not?> >> > > That's easy, too; the Rete.ppFacts() method writes facts to a stream > you > supply, either in Jess or JessML format, based on a boolean > parameter. The > Javadoc for the Jess library is in chapter 18 of the > manual.> > > > ---------------------------------------------------------> Ernest > Friedman-Hill> Advanced Software Research Phone: (925) 294-2154> Sandia > National Labs FAX: (925) 294-2234> PO Box 969, MS 9012 [EMAIL PROTECTED]> > Livermore, CA 94550 http://www.jessrules.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]> > --------------------------------------------------------------------> _________________________________________________________________ Probeer Live.com: jouw leven online met nieuws, sport, weer en nog veel meer. http://www.live.com/getstarted
