Hello,
Thanks vidyut for u r reply,
Yes I want "generate a schema from an xml instance" but not using any of the existing tools .I need to do it programatically using either Java or any other .
Can any one give me suggestion in what way I need to start for
generating schema .
Is there any parser for accomplishing the task.
Thanks in Advance,
Ganga
Hi,
That is the reason I asked you to scroll down to where 'trang' is described. If you visit trang's website you will see that trang has an api you can call from your java code that will do what you want. Even if there isn't you can see the batch file to find out which class is getting called and call it from your java code. Eitherway, you would need to add trang.jar to your classpath.
Hope this helps.
cheers,
vidyut