Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 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