Xml builder DSL

I would love to find one example of fluent XML builder DSL similar to the ones that exist in Groovy.
Does anyone knows where I can find one ?

Many thanks,

Luis Oscar

I didn’t use XML for a while, so I didn’t try doing it myself, but people are using various forms, e.g. Kotlin XML Binding – Eugene Petrenko

1 Like

Thank you I did looked a bit at the article but found it hard to understand when comparing with the simplicity of the Groovy XML builder.

Searching about a year later returns this interesting library: GitHub - redundent/kotlin-xml-builder: A lightweight type safe builder to build xml documents in Kotlin

1 Like

Thank you I have been looking for this, :slight_smile:

Check this up GitHub - qwertukg/xml-builder: Simplest XML builder for Kotlin

1 Like

Thank you I will have a look, :slight_smile: