-
Notifications
You must be signed in to change notification settings - Fork 1
Home
John Nordberg edited this page Apr 27, 2020
·
1 revision
There are two main pieces of functionality in the library at the moment that can used alone or together:
You can create an object graph in memory and write it to an XML report, or read an existing XML report and do something useful with it.
(This functionality is being cleaned up so treat it as beta for now)
You can construct a report from key+value pairs and eg. serialize it to XML, or export an existing report to key+value pairs. Each key is basically the path to the node in XML and the value is the value for the node. The format is derived from XPath and the ESMA specifications. The data is read from a text file and be in any order. sample snippet:
AIFReportingInfo.CancellationAIFRecordInfo[1].CancelledAIFMNationalCode;Id2
AIFReportingInfo.AIFRecordInfo[3].AIFContentType;2
AIFReportingInfo.AIFRecordInfo[1].AIFCompleteDescription.AIFPrincipalInfo.ShareClassFlag;false
AIFReportingInfo.AIFRecordInfo[2].AIFCompleteDescription.AIFPrincipalInfo.PrincipalExposures.PrincipalExposure[9].SubAssetType;DER_EQD_FINI