xmlbeans change output
robbush <[email protected]> Fri, 29 Apr 2011 12:31:05 -0700 (PDT)
| Newsgroups | gmane.text.xml.xmlbeans.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have an FpML Schema that has been compiled into xmlbeans. The end user
wants an element like:
`<fxCurve id="EURUSD">
</fxCurve>`
However, when I create the data in my code it comes out like this:
`<pricingStructure id="USDCAD" xsi:type="FxCurve"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</pricingStructure>`
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
.changeType(FXFxCurve.type);
Is there any way to change this somehow or manually force?
Thanks
--
View this message in context: http://old.nabble.com/xmlbeans-change-output-tp31508219p31508219.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.