Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Nested composite attributes can be defined inline within a model definition without a separate type definition its usage. 


Code Block
languagexml
titleDataModel with ad-hoc composite attribute
linenumberstrue
<DataModel name="SensorModel">
	<String name="SensorID"/>
	<String name="SensorValue"/>
	<String name="Unit"/>
	<Data name="Device">
		<String name="Name"/>
		<String name="Type"/>
	</Data>
</DataModel>