Re: Creating complexType objects...

2005-07-28 Thread Kent Spaulding
Hi Dave, XmlObject.Factory.parse() will try to map to the correct type as long as the generated types can be found on the classpath. I've never had to deal with unknown document types in the real world, only unknown and invalid types within those documents, so I've never actually put this in

Re: Creating complexType objects...

2005-07-28 Thread Dave Harrison
Hi Kent, What you do to build the XMLDoc? Use a text editor? Yep. The examples I used were cut and paste from a previous post with some free hand editing in the mail client, so apologies if there are any slight errors. In my case, I build messages to send over, for example, http by usin

Re: Creating complexType objects...

2005-07-27 Thread Kent Spaulding
oo = FooDocument.Foo.Factory.newInstance(); foo.setName("blah blah"); fooDocument.setFoo(foo); print(fooDocument); Give at a go and let us know what happens! Best, Caroline. -Original Message- From: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: us

Re: Creating complexType objects...

2005-07-27 Thread Dave Harrison
rt [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

RE: Creating complexType objects...

2005-07-27 Thread Cezar Andrei
I agree that handling wildcards is very useful, it's already on our list of features. Cezar > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 1:45 PM > To: user@xmlbeans.apache.org > Subject: Re: Creating

Re: Creating complexType objects...

2005-07-27 Thread Kent Spaulding
That Cezar - This definately helps me understand what is going on. I still find it a little frustrating that I cannot construct a 3) from an 'interior' type (i.e. no *Document class); without knowing either an enclosing element name from some doc-type that uses these; or the QName to use. I

Re: Creating complexType objects...

2005-07-27 Thread Kent Spaulding
Caroline. -Original Message- From: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Messag

Re: Creating complexType objects...

2005-07-27 Thread Stephane Morucci
go and let us know what happens! Best, Caroline. -Original Message- From: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText());

Re: Creating complexType objects...

2005-07-27 Thread Dave Harrison
riginal Message- From: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL

Re: Creating complexType objects...

2005-07-27 Thread steph
: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 19:48 To: user@xml

Re: Creating complexType objects...

2005-07-27 Thread Dave Harrison
Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 19:48 To:

RE: Creating complexType objects...

2005-07-27 Thread Cezar Andrei
.Foo.Factory.newInstance(); > > > > foo.setName("blah blah"); > > fooDocument.setFoo(foo); > > print(fooDocument); > > > > Give at a go and let us know what happens! > > > > Best, > > Caroline. > > > > > > -Original

Re: Creating complexType objects...

2005-07-27 Thread Kent Spaulding
om: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

RE: Creating complexType objects...

2005-07-27 Thread Caroline Wood
, Caroline. -Original Message- From: Don Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 09:59 To: user@xmlbeans.apache.org Subject: RE: Creating complexType objects... Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- Fr

RE: Creating complexType objects...

2005-07-27 Thread Don Stewart
Kent, In the first example replace print(foo); with print(foo.xmlText()); Regards Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 19:48 To: user@xmlbeans.apache.org Subject: Creating complexType objects... I've looked over all the doc, and