-
Hi Lab
I dont get it. I dont have enough knowladge to understand it at first sight. for example expecting piece of xml for notice-subtype 16 is How can xsdSequenceOrder help me identify efac:SelectionCriteria as a place which is necessary create again for 3 different values. in previous version 1.6.x was relative path for example field "id" : "BT-743-Lot", v1.6 Iam not going to lie. Iam little bit confused. Thank you for more detail explanation. what is goal, Can I expect that xPathrelative will be simplified in future and xsdSequenceOrder will control or BT-747-Lot xPathRelative missing half of it and so on. Thank you :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello, good question.
Under For repeating elements of the same type the sort order among themselves does not matter. Also for attributes the order does not matter. Assuming siblingA, siblingB and siblingC are all under the same kind of parent element (in the example above it would something like SubcontractingTermType). Sorting sibling order before using it to sort the elements: Then remove sibling B, add it back in the children at position 1, remove sibling A remove 2 and add it back ...
This is to match the XSD sequence and pass XSD validation. |
Beta Was this translation helpful? Give feedback.
-
Here is 16.json as it will be (or close) in SDK 1.8, as you can see some sections have been reworked to help with XML generation: |
Beta Was this translation helpful? Give feedback.
Hello,
good question.
To understand this you have to look into the XSDs.
Here the fields.json is making the link between fields/nodes and the order of XML elements as defined in the XSDs.
Example: