Page 1 of 1

how to use xml configuration file in LISP application

PostPosted: Wed Aug 13, 2008 11:17 am
by srinivas.telecom
Hi,

In my Organization we developed all the projects in LISP (server side code).
For this, currently we are using configuration file as S-expression.

There is a need to embedded/integrate JAVA source code to our LISP application, in this case we want to use common configuration file (xml) for both the LISP and JAVA source code.

While searching in the Web, I found s-xml open source code.but I did not understood the documents provided along with the s-xml source code. Is any body know how to use this.

Let me know is there any other open source codes available for the same

Thanks in advance for your help.

Thanks,
Reddy

Re: how to use xml configuration file in LISP application

PostPosted: Wed Aug 13, 2008 11:38 am
by reuben.cornel
Have you considered using cl-xml? It seems to be a pretty neat library. You can find it here http://common-lisp.net/project/cl-xml/

Re: how to use xml configuration file in LISP application

PostPosted: Thu Aug 14, 2008 1:40 am
by oyvinht
I prefer ClosureXML http://common-lisp.net/project/cxml/ for most XML-related tasks. It's pretty good.

There are a bunch of other libraries as well. Check out the list at http://www.cliki.net/XML.

Re: how to use xml configuration file in LISP application

PostPosted: Sat Aug 16, 2008 10:39 am
by nuntius
also look at xmlisp

That said, XML is a rather heavyweight and clunky config-file format. Couldn't you teach Java to read sexpressions or YAML or JSON or unix/dos-style rc files or ...?

Be sure that whatever XML framework you choose fully supports user-defined entities. If you plan on writing many config files with identical sections, entities are a must.