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
how to use xml configuration file in LISP application
-
- 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
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
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.
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
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.
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.