# XML Schema Documentation

### Complex Type: Formula

#### [Table of contents]

Super-types: | None
Sub-types: | None

Name | Formula
Used by (from the same schema document) | Complex Type FormulaComponent
Abstract | no
Documentation | A type describing a financial formula, with its description and components.

XML Instance Representation
<...>
<formulaDescription> xsd:string </formulaDescription> [0..1]

'Text description of the formula'

<math> Math </math> [0..1]

'An element for containing an XML representation of the formula. Defined using xsd:any currently for flexibility in choice of language (MathML, OpenMath)'

<formulaComponent> FormulaComponent </formulaComponent> [0..*]

'Elements describing the components of the formula. The name attribute points to a value used in the math element. The href attribute points to a value elsewhere in the document'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="Formula">
<xsd:sequence>
<xsd:element name="formulaDescription" type=" xsd:string " minOccurs="0"/>
<xsd:element name="math" type=" Math " minOccurs="0"/>
<xsd:element name="formulaComponent" type=" FormulaComponent " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>