How can you define an element by position in XML Schema?
We're getting various XML data feeds with the data as a series of <row> elements, with the actual values as <value>.
The XML files do have a <metadata> element at the beginning
But how can I say in XSD that the first <value> in each <row> should be, e.g. xsd:dateTime?
... XML snippet !
<metadata>
<item name="Month" type="xs:date"/>
<item name="Planned Total" type="xs:double" precision="2"/>
</metadata>
<data>
<row>
<value>2019-11-01</value>
<value>3607</value>
</row>
<row>
<value>2019-12-01</value>
<value>3091</value>
</row>
... rest of XML ...