how to use xml configuration file in LISP application

Discussion of Common Lisp
Post Reply
srinivas.telecom

how to use xml configuration file in LISP application

Post by srinivas.telecom » Wed Aug 13, 2008 11:17 am

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

reuben.cornel
Posts: 7
Joined: Sun Jun 29, 2008 9:48 am
Location: Sterling, Virginia, USA
Contact:

Re: how to use xml configuration file in LISP application

Post by reuben.cornel » Wed Aug 13, 2008 11:38 am

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/

oyvinht

Re: how to use xml configuration file in LISP application

Post by oyvinht » Thu Aug 14, 2008 1:40 am

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.

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: how to use xml configuration file in LISP application

Post by nuntius » Sat Aug 16, 2008 10:39 am

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.

Post Reply