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

XSL processing instruction #28

Closed rjaros closed 4 years ago

rjaros commented 4 years ago

Is it possible to add processing instruction before the root element to generate XML like below?

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<document>
...
</document>
redundent commented 4 years ago

Hi @rjaros Currently no, that isn't possible.

I can see about adding it though.

redundent commented 4 years ago

HI @rjaros This has been published. You can find info on the readme. The updated version is 1.5.4

rjaros commented 4 years ago

It's working fine. Thx!