XMLBeans has: 1. An easy programmatic way of accessing the XMLSchema information. See XmlBeans.compileXsd() and then the SOM (Schema Object Model) API starting with SchemaTypeSystem, SchemaType and SchemaElement
2. An efficient way of building XML instances from scratch: the XmlCursor API, which was pointed out in a previous response XMLBeans doesn't have: A way of building the graphical representation of an XMLSchema. Hope this clarifies things, Radu On Tue, 2008-07-22 at 07:04 -0700, Daniel Toffetti wrote: > What are the classes I should use to traverse the schema and build > a TreeModel from it ? > > Cheers, > > Daniel > > > > ----- Mensaje original ---- > De: Jacob Danner <[EMAIL PROTECTED]> > Para: [email protected] > Enviado: martes 22 de julio de 2008, 0:24:59 > Asunto: Re: Advice about tools > > Hi Daniel, > Yep, It's possible, and has been done by a couple of XML Editing tools > already. While I haven't tried dev'ing this usage scenario myself, I > don't see anything preventing you from using XMLBeans to do so. > -jacobd > > On Tue, Jul 22, 2008 at 3:44 AM, Daniel Toffetti <[EMAIL PROTECTED]> > wrote: > > Hi ! > > > > I would like to know if it's possible to do what I'm trying to > do, and > > what would be the best tools to do that. > > Here is it: I want to load an XML Schema Definition into a > TreeModel to > > display it in a user interface. The user should be able to interact > with > > that interface to add and edit data, and then save the edited data > as an XML > > Instance document. > > In other words, I want the user to be presented with the full > Schema in > > the form of a tree template, where he can add data as needed and > save > > instances. > > I will have to use some knowledge of the specific Schemas, for > example > > for adding localized labels or some custom item editing features, > but other > > than that, I want this to be as automatic as possible, I mean, if > possible, > > I don't want to build the TreeModel by hand using knowledge of the > specific > > XSD. > > > > Is this possible using available standards / libraries ?? > > > > Cheers, > > > > Daniel > > > > > > ________________________________ > > ¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro > > http://ar.mobile.yahoo.com/onesearch > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ______________________________________________________________________ > > ¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro > http://ar.mobile.yahoo.com/onesearch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

