A complex number consists of a real and imaginary part. An element of type, complexNumber, will have two subelements:
This datatype was developed to support the Epicentre complex data type. Its intended usage is shown in the PEF complex element document. Usage as a useful datatype is shown in the following sample usage schema and sample XML.
Warning: The W3C Consortium is developing its own version of a complex number datatype which may vary slightly from this version.
<xsd:complexType name="complexNumber">
<xsd:sequence>
<xsd:element name="realPart" type="xsd:double"/>
<xsd:element name="imaginaryPart" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="rotationalComponent" type="complexNumber"/>
<rotationalComponent>
<realPart>.80229</realPart>
<imaginaryPart>.59693</imaginaryPart>
</rotationalComponent>