Re: Converting from using scomp to SchemaTypeLoader.parse(...)

2013-01-30 Thread Cezar Andrei
XmlObject instance = > schemaTypeObj.newInstance(schemaTypeObj.documentTypes()[0], > null); > > System.out.println(instance.schemaType()); > > } > > >

Re: Converting from using scomp to SchemaTypeLoader.parse(...)

2013-01-15 Thread badger mailinglist
XmlObject.Factory.*parse*(*new* File("xsd/testschema.xsd"))}; > > SchemaTypeSystem schemaTypeObj = XmlBeans.* > compileXmlBeans*(*null*, *null*, schemaObj, *null*, *null*, *null*, *null* > ); > > XmlObject instance = > schem

RE: Converting from using scomp to SchemaTypeLoader.parse(...)

2013-01-14 Thread Paul Gillen
[mailto:badger.mailing.l...@gmail.com] Sent: Monday, January 14, 2013 6:35 AM To: user@xmlbeans.apache.org Subject: Re: Converting from using scomp to SchemaTypeLoader.parse(...) Ok, so I guess no one has ever tried this. Maybe there's a simpler question: If I use the SchemaTypeLoader.parse method,

Re: Converting from using scomp to SchemaTypeLoader.parse(...)

2013-01-14 Thread badger mailinglist
Ok, so I guess no one has ever tried this. Maybe there's a simpler question: If I use the SchemaTypeLoader.parse method, I struggle to get information about the schema from that object. I want to iterate through the attributes and elements declared in the XSD I'm parsing, but all I seem to get is