-- introducing stack behaviour for xpath parsing
[bkell-clj.git] / src / xml_handler.clj
blob5bc5190a17a11ec2b570e78df3fb9132eb73b1b0
2                   (defn xml_handler [node handler] 
3                      (if (instance? com.interrupt.bookkeeping.cc.node.AXmlCommandInput (. node getCommandInput) )
4                         (do 
5                            (println "XML input[" (.. node getCommandInput toString) "]")
6                            
7                            ;; extract the context 
8                            (let [ result_seq []]
9                               
10                               ;; operate with handler
11                               (handler result_seq)
12                            )
13                         )
14                      ) 
15                   )