Hi Micheal, I was suggesting you look into the source of those tools as a reference point for what you are trying to do. In other words, the inst2xsd tool generates a schema from a xml instance. You are concerned with how to generate a schema using xmlbeans, so I would start by looking at how the inst2xsd tool does it. As far as a direct link, I'd say grab a copy of the source code for the xmlbeans project and start looking there. Thats where I go when I have questions. -jacobd
On Mon, Dec 22, 2008 at 12:39 PM, michael <[email protected]> wrote: > First of all thank you for your quick answer, > > The first tool creates a schema from an instance document and for the > second i have to search further to see the potentials. > > The problem is that i want to create components from scratch,with my > willing and manage them.So,possibly the first i useless.These tools are > accessible from xmlbeans API?i mean i can import the (jar?) into my code > and use them as i now use the xmlbeans API? > > Do you have a direct link for further study because i couldn't find sth > detailed(sth like a doc) over the internet except questions and general > answers... > > thank you again > > > > Jacob Danner wrote: >> I was just playing with a couple of xmlbeans' tools that did this over >> the weekend. >> Take a peek at the inst2xsd or sfactor tools and the source code >> behind them. Both tools create schemas. >> -jacobd >> >> On Mon, Dec 22, 2008 at 12:14 PM, michael <[email protected]> wrote: >> >>> Hi, >>> >>> I couldn't find the way to create schema components via xmlbeans... e.g >>> how i could make elements,types etc via xmlbeans? >>> >>> All the classes / interfaces have get & is methods and none has set or >>> add methods ,so i'am wondering if there is a way to create new XSD >>> components via xmlbeans... >>> >>> Are there any classes to support the schema component creation? >>> >>> Generally, if there is a way let me know or tell me where i can >>> study!It's urgent!! >>> >>> Thanks in Advance >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

