how to use xml configuration file in LISP application

Discussion of Common Lisp

how to use xml configuration file in LISP application

Postby 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
srinivas.telecom
 

Re: how to use xml configuration file in LISP application

Postby 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/
reuben.cornel
 
Posts: 7
Joined: Sun Jun 29, 2008 9:48 am
Location: Sterling, Virginia, USA

Re: how to use xml configuration file in LISP application

Postby 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.
oyvinht
 

Re: how to use xml configuration file in LISP application

Postby 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.
User avatar
nuntius
 
Posts: 497
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to Common Lisp

Who is online

Users browsing this forum: Google [Bot], joeish80829 and 1 guest

cron