Results 1 to 1 of 1
Thread: xmlbeans question
- 04-29-2011, 08:08 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 1
- Rep Power
- 0
xmlbeans question
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
Similar Threads
-
Question concerning question marks and colons
By jim01 in forum New To JavaReplies: 17Last Post: 01-14-2011, 12:05 AM -
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
Spring, XMLBeans, Apache Velocity
By emranrao in forum Advanced JavaReplies: 0Last Post: 05-31-2010, 04:59 PM -
Getting error using XMLBeans to create jar file
By tobalajia in forum XMLReplies: 2Last Post: 08-14-2008, 08:33 PM -
JNI question
By javaplus in forum New To JavaReplies: 0Last Post: 12-24-2007, 10:18 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks