The PEF angle element is a choice of a parsed angle (using the subelement, dms) or a quantity (using the subelement, quantity).
This datatype was developed to support the Epicentre angle data types. It is intended as a direct mapping from Epicentre to an XML file.
<xsd:element name="angle">
<xsd:complexType>
<xsd:choice>
<xsd:element name="quantity" type="quantityType"/>
<xsd:element name="dms" type="angleType"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<element name="greenwich_longitude">
<complexType>
<sequence>
<element ref="pef:angle"/>
</sequence>
</complexType>
</element>
The example will show namespace of 'pef'
<greenwich_longitude>
<pef:angle>
<pef:dms>
<pef:degree direction="E">12</pef:degree>
<pef:minute>26</pef:minute>
<pef:second>9.7882</pef:second>
</pef:dms>
</pef:angle>
</greenwich_longitude>