This XSL Transform is intended to convert any XML 1.0 document to a KDL file.
The full KDL specification can be found at https://kdl.dev/
The spec for XML-in-KDL can be found at https://github.com/kdl-org/kdl/blob/main/XML-IN-KDL.md
CURRENT STATUS : Work in progress, additional testing required.
Try it for yourself at the below URL! Please let me know about any issues you may find. :)