Liking cljdoc? Tell your friends :D

ring-xml [Build Status]travis[Dependencies Status]deps[Clojars Project]clojars[Tag]tagClojure version

Ring middleware functions for working with XML.

Inspired by and modeled after the ring-json middleware.

Installation

Add the following to your project.clj:

[clojusc/ring-xml "0.1.0"]

Usage

The functionality of the library consists of two Ring handlers:

  • wrap-xml-request checks the content-type of an incoming request and if it is XML then parses the body.

  • wrap-xml-response converts outgoing collections or S-expressions to an XML string.

License

Copyright © 2013 IMIntel
Copyright © 2016 ClojuSc

Distributed under the MIT license.

Can you improve this documentation? These fine people already did:
Duncan McGreggor, Rocco Nicosia, Clark Kampfe & devstopfix
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close