repo.or.cz
/
bkell-clj.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
-- introducing stack behaviour for xpath parsing
[bkell-clj.git]
/
src
/
xml_handler.clj
blob
5bc5190a17a11ec2b570e78df3fb9132eb73b1b0
1
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
)
16