How to parse xmlbean when XML is wrapped with bogus element

2007-08-13 Thread bob bob
I have an xsd defined and an xml bean generated from that xsd. I get an xml document I would like to load into my xml bean but it has this element around the xml I want. When I remove this element it works. How do I do this programatically through XMLBeans? XML: ... Java Code:

RE: converting XQuery results to Java objects generated by XmlBeans

2007-08-13 Thread Alec Lebedev
It turns out that execQuery returns an array of XmlBeans-generated class only if there is an XSD declared for the elements returned by execQuery. It is not sufficient just to have an XSD type defined for those elements. Consider the following XSD and XML: XSD:

RE: Problem with output through a weblogic webservice.

2007-08-13 Thread Cezar Andrei
Hi Knut-Erik, The best way to solve this is to open a customer request through BEA support on WLS. Cezar From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 3:28 PM To: user@xmlbeans.apache.org Subject: Problem with output t