Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
api
Feb 5, 2016
Feb 5, 2016
Dec 19, 2015
Dec 19, 2015
Dec 19, 2015

README.md

Build Status

Kotlin XML DLS

This is a tiny library that allows one to generate XML files via Kotlin DSLs.

Project consists of API module with no dependencies from any XML implementations. There is an implementation module that implements API via JDOM

License

MIT

You can freely use this library or sources in the way you like

Binaries

You may download binaries from maven artifacts repository from here http://dl.bintray.com/jonnyzzz/maven

In Gradle build script it may be done like this

repositories {
  maven { url "http://dl.bintray.com/jonnyzzz/maven" }
}

dependencies {
  compile "org.jonnyzzz.kotlin.xml.dsl:jdom:<VERSION>"
}

Usage example

jdom("root-element-name") {
  attribute("attribute", "42")
  element("some-other-element")
  text("Hello World")
}

About

A tiny DSL to generate XML

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.