Replies: 1 comment
-
|
The xsi:type attribute is necessary when you are assigning derived elements, otherwise the produced xml documents wont pass validations. If you think there is a bug please open an issue. That being said feel free to use the tree serializer, I am sure with xlst you can apply any transformation you want. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the XML Serializer I am able to generate XML files however it is adding "xsi" datatypes to a lot of the elements and I would prefer not to reduce size of the XML. If I look at the XML I need to send to the system it does not have these repeated xsi:type="sometype" added. Is there a way to turn these off from generating?
For example:
<device:device_ID xsi:type="cndc:EntityIdentifierType">
cndc:resourcetest</cndc:resource>
</device:device_ID>
<device:configuration xsi:type="device:Configuration"/>
Beta Was this translation helpful? Give feedback.
All reactions