4 (import 'java.io.ByteArrayInputStream)
7 (defn xml_handler [node handler]
8 (if (instance? com.interrupt.bookkeeping.cc.node.AXmlCommandInput (. node getCommandInput) )
11 (println "XML input[" (.. node getCommandInput toString) "]")
12 (let [xml-string (filterSpacesFromXML (.. node getCommandInput toString))]
14 (println "XML filtered[" xml-string "]")
15 (handler (clojure.xml/parse (ByteArrayInputStream. (.getBytes xml-string "UTF-8"))))