The answer to Shah's question is no. Xerces has no such API however I don't think JAXB is what Shah is looking for either. It won't generate sample instance documents for you. I think there's a generator somewhere in Eclipse WTP [1] though I've never looked at it. Probably other tools out there.
[1] http://www.eclipse.org/projects/project_summary.php?projectid=webtools Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Jacob Kjome <[EMAIL PROTECTED]> wrote on 12/09/2008 12:01:25 AM: > You should look at JAXB2 for mapping schemas to XML. > > https://jaxb.dev.java.net/ > > > Jake > > On 12/8/2008 2:48 PM, Shah Asrani wrote: > > Is there any api call in xerces that can be used to create a sample > > xml file for given xsd file? > > > > Shah > > > > --------------------------------------------------------------------- > > 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]