Take a peek at the xsd2inst tool under your xmlbeans_home\bin directory -jacobd
On Tue, Feb 24, 2009 at 5:41 PM, Andy Putnins <putn...@lett.com> wrote: > Given a schem that has been parsed and loaded into a SchemaTypeSystema, > how can I create a document instance with just the root element? > > I don't have prior knowledge of the schema contents > other than knowing that it has a single global element. > I can confirm that it has a global element with > SchemaType.isDocumentType() > but how should I proceed? Perhaps if I could discover it's QName, > I could construct an element instance, but how? Or is there a better > approach? > > - Andy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org > For additional commands, e-mail: user-h...@xmlbeans.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org