Closed JamesVanBoxtel closed 3 years ago
Thanks for creating the issue, I'll have a look.
@JamesVanBoxtel are you sure you're using the latest version of XMLCoder? I've tried to reproduce the issue in a test, but the version
attribute is correctly encoded as an attribute. Could you have a look at that test to verify that I'm not missing anything? Maybe there's something else in your code that could have an impact?
With no updates from the OP and no similar reports I'm closing this as stale
Thanks for the amazing open source project.
While using it I noticed that implementing
DynamicNodeEncoding
in order to encode a property as an attribute works great for sub elements, but always encodes as an element for the root element.output is something like