redundent / kotlin-xml-builder

A lightweight type safe builder to build xml documents in Kotlin
Apache License 2.0
151 stars 17 forks source link

add ProcessingInstructionElement #21

Closed endofhome closed 5 years ago

endofhome commented 5 years ago

Pretty self-explanatory I hope, this PR adds support for processing instruction elements. I couldn't find a way to add a custom element from within my project hence the PR. For consistency I based this on the existing CDATAElement, though it is simpler.

redundent commented 5 years ago

Thanks @endofhome I just merged this. I will publish the new version shortly

redundent commented 5 years ago

This is available in version 1.5.1 which is available now

endofhome commented 5 years ago

Great - thanks for merging and publishing this so quickly.