C# Class HandCoded.FpML.Conversions.R3_0__R4_0

The R3_0__R4_0 class implements a conversion from FpML 3-0 to FpML 4-0. The specific changes need (other than basic DOCTYPE substitutions are:
  • The document is becomes XML schema referencing.
  • Legacy documents become FpML DataDocument instances.
  • The dateRelativeTo referencing mechanism is changed.
  • The value set for <fraDiscounting> was modified.
  • The element <calculationAgentPartyReference> was moved from the trade header into the trade structure.
  • The <informationSource> element is renamed <primaryRateSource> within <fxSpotRateSource> elements.
  • The structure of the equityOption element is changed.
  • SchemeDefaults are removed and non-defaulted schemes appear on referencing elements,
Inheritance: HandCoded.Meta.DirectConversion
Show file Open project: formicary/fpml-toolkit-csharp

Public Methods

Method Description
Convert ( XmlDocument source, HandCoded helper ) : XmlDocument

Applies the Conversion to a XmlDocument instance to create a new XmlDocument.

R3_0__R4_0 ( ) : System

Constructs a TR3_0__R4_0 instance.

Private Methods

Method Description
Transcribe ( XmlNode context, XmlDocument document, XmlNode parent, XmlElement>.Dictionary cache, bool caching ) : void

Method Details

Convert() public method

Applies the Conversion to a XmlDocument instance to create a new XmlDocument.
public Convert ( XmlDocument source, HandCoded helper ) : XmlDocument
source System.Xml.XmlDocument The to be converted.
helper HandCoded A used to guide conversion.
return System.Xml.XmlDocument

R3_0__R4_0() public method

Constructs a TR3_0__R4_0 instance.
public R3_0__R4_0 ( ) : System
return System