The PEF money element is a value, and an attribute indicating the currency. The currency attribute is restrict by an enumerated list, which is available for download.
This datatype was developed to support the Epicentre money data types. It is intended as a mapping from Epicentre to an XML file, that varies slightly from the Epicentre money data type. The Epicentre money data type uses integer values of the currency, and subcurrencies, whereas the XML money data type uses a decimal value of the currency. For example, the Epicentre expression of $6.23 would be "6 USD" and "23 USDc", while the XML version would be "6.23 USD."
<xsd:element name="money" type="money"/>
<element name="cost">
<complexType>
<sequence>
<element ref="pef:money"/>
</sequence>
</complexType>
</element>
The example will show namespace of 'pef'
<cost>
<pef:money currency="USD">3779.27</pef:money>
</cost>