How transform Composition XML to JSONFLAT JAVA 8

I would like to know how I can transform an XML composition into a JSONFLAT in the same style as MARAND / Better in JAVA 8, because in one of the OpenehrSDK libraries it seems to contain a method for transformation but it is in JAVA 11, there are alternatives for 8 ?

Only alternative might be the Better open source code but I don’t know how Kotlin 1.4 relates to Java 8 regarding the JVM: GitHub - better-care/web-template: WebTemplate implementation for openEHR CDR

1 Like