I have an FpML Schema that has been compiled into xmlbeans. The end user wants an element like:
However, when I create the data in my code it comes out like this:
`<pricingStructure id="USDCAD" xsi:type="FxCurve"
The document that I have says that fxCurve has a base type of PricingStructure and PricingStructure is an abstract complex type which I must "transform" into an fxCurve:
FXFxCurve fxcurve = (FXFxCurve) pricingStruct
Is there any way to change this somehow or manually force?