An open API service indexing awesome lists of open source software.

https://github.com/xorgy/lbx

XML that might just work.
https://github.com/xorgy/lbx

emitter text xml xml-emitter

Last synced: 2 months ago
JSON representation

XML that might just work.

Awesome Lists containing this project

README

          

# LBX — Langage de Balisage eXtensible

XML that might just work.

Emit clean XML with hiccup-style keyword s-expressions.

## Usage

```clojure
je.suis/lbx {:mvn/version "0.3.0-SNAPSHOT"}
```

```clojure
(require [je.suis.lbx :refer [emit CDATA]])

(emit
[:rss {:version "2.0" :xmlns:atom "http://www.w3.org/2005/Atom"}
[:channel
[:title "My totally sick RSS feed"]
[:description [CDATA "Only the illest from this feed, yo. & also no mess regarding this "]]]])
;
;
;
; My totally sick RSS feed
; from this feed, yo. & alse no mess regarding this ]]>
;
;
```

## License

Copyright © 2022 Aaron Muir Hamilton

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.