Re: setting a xml value and save the root to a file

2011-07-14 Thread Marco Wulf
Hay, sorry for the late reply. I was on vacation the last 2 weeks. But now I' ll test your "easy looking" code snippet. Thanks for this On 26 Jun., 17:30, Ken Wesson wrote: > On Sat, Jun 25, 2011 at 3:23 AM, dive_mw wrote: > > Hi all, > > can anybody help me, how to fix the following problem? I

Re: setting a xml value and save the root to a file

2011-06-26 Thread Ken Wesson
On Sat, Jun 25, 2011 at 3:23 AM, dive_mw wrote: > Hi all, > can anybody help me, how to fix the following problem? I have a > function like this: > > (defn set-config-value >  "sets a new value programatically to a config key" >  [value & tags] >  ;; set the new value and save the config file? >  

setting a xml value and save the root to a file

2011-06-25 Thread dive_mw
Hi all, can anybody help me, how to fix the following problem? I have a function like this: (defn set-config-value "sets a new value programatically to a config key" [value & tags] ;; set the new value and save the config file? ;;(zip/edit tags (zip/xml-zip(load-config)) value ) ;; Save