RE: Getting concrete object from Any

2007-06-25 Thread Desmond Whewell (CV/ETL)
extract the concrete from the Any? > > Thanks again, > > Des > > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED] > Sent: 20 June 2007 12:56 > To: user@xmlbeans.apache.org > Subject: Re: Getting concrete object from Any > > 1. IIUC you

RE: Getting concrete object from Any

2007-06-22 Thread Vinh Nguyen (vinguye2)
Thanks Radu, I'll definitely take a look! -Vinh -Original Message- From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 4:57 PM To: user@xmlbeans.apache.org Subject: RE: Getting concrete object from Any Thanks, that is fine though, that type is extr

RE: Getting concrete object from Any

2007-06-22 Thread Radu Preotiuc-Pietro
> > > > > > > -Original Message- > From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] > Sent: Friday, June 22, 2007 4:19 PM > To: user@xmlbeans.apache.org > Subject: RE: Getting concrete object from Any >

RE: Getting concrete object from Any

2007-06-22 Thread Vinh Nguyen (vinguye2)
ot;; elementFormDefault="qualified" blockDefault="#all"> -Original Message- From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 4:19 PM To: user@xmlbeans.apache.org Subject: RE: Getting concrete object from Any That is a li

RE: Getting concrete object from Any

2007-06-22 Thread Radu Preotiuc-Pietro
hod is actually from the > base XmlObject, and it expects the same object type as the parent...not > *any* type of object. > > > > -Original Message- > From: Vinh Nguyen (vinguye2) > Sent: Friday, June 22, 2007 3:23 PM > To: user@xmlbeans.apache.org > Subject:

RE: Getting concrete object from Any

2007-06-22 Thread Vinh Nguyen (vinguye2)
) Sent: Friday, June 22, 2007 3:23 PM To: user@xmlbeans.apache.org Subject: RE: Getting concrete object from Any I had the same question awhile back when generating from the WS-Enumeration-2004_09.wsdl available on the web. The problem was this definition: XmlBeans doesn't seem to handle this

RE: Getting concrete object from Any

2007-06-22 Thread Vinh Nguyen (vinguye2)
2007 2:33 PM To: user@xmlbeans.apache.org Subject: RE: Getting concrete object from Any My opinion is that it will just work even if you have multiple jars, must be something else that complicates David's case (substitution groups). However, Desmond, it seems to me that what you suggest is exac

RE: Getting concrete object from Any

2007-06-22 Thread Radu Preotiuc-Pietro
concrete from the Any? > > Thanks again, > > Des > > -----Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED] > Sent: 20 June 2007 12:56 > To: user@xmlbeans.apache.org > Subject: Re: Getting concrete object from Any > > 1. IIUC your sample d

RE: Getting concrete object from Any

2007-06-20 Thread Desmond Whewell (CV/ETL)
ct the concrete from the Any? Thanks again, Des -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: 20 June 2007 12:56 To: user@xmlbeans.apache.org Subject: Re: Getting concrete object from Any 1. IIUC your sample document should look like foo 2. Try XmlOb

Re: Getting concrete object from Any

2007-06-20 Thread David Jencks
1. IIUC your sample document should look like foo 2. Try XmlObject.selectChildren(QNameSet desiredQNames); If all your schemas are compiled at once into one jar I think this will return the desired XmlObjects as the types you expect. Otherwise if you get a plain XmlObject you may have t

Getting concrete object from Any

2007-06-20 Thread Desmond Whewell (CV/ETL)
Sorry about Yet-Another-Any question, but this is my first expedition in Xmlbeans and I have seached the documentation and Javadocs and I'm still banging my head against a brick wall. Suppose I have a schema with an element, 'myElem', say. One of the child elements, 'myChild', is defined as: