Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(require '[clojure.data.xml :as xml])
|
||||
|
||||
(def xml-example (xml/element :root {} (xml/element :element {} "Some text here")))
|
||||
|
||||
(with-open [out-file (java.io.OutputStreamWriter.
|
||||
(java.io.FileOutputStream. "/tmp/output.xml") "UTF-8")]
|
||||
(xml/emit xml-example out-file))
|
||||
Loading…
Add table
Add a link
Reference in a new issue