Skip to content

xsdSequenceOrder, help me to understand how to use it properly #499

Answered by rouschr
elerik asked this question in Q&A
Discussion options

You must be logged in to vote

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:

<xsd:complexType name="SubcontractingTermType">
		<xsd:sequence>
			<xsd:element ref="efac:FieldsPrivacy" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="efbc:TermAmount" minOccurs="0" maxOccurs="1"/>
			<xsd:element ref="efbc:TermDescription" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element ref="efbc:TermPercent" minOccurs="0" maxOccurs="1"/>
			<xsd:element ref="efbc:TermCode" minOccurs="1" maxOccurs="1"/>
			<xsd:element ref="efbc:PercentageKnownIndicator" minOccurs="0" maxOcc…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@elerik
Comment options

Answer selected by YvesJo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json) xml generation Discussions on how to generate valid XML
2 participants