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
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
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
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
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
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
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
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());
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
: 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
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:
.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
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
,
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
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
15 matches
Mail list logo