Re: Dynamic generation of XML object hierarchy using schema

2014-05-06 Thread jerry . sy
look at the XmlCursor api. You can use it to create an xml document. On 5/6/2014 8:19 AM, jgagnon wrote: I am working on a project where we are trying to dynamically generate XML instances, using the information gleaned from a defining XML schema. The instances will represent test cases for a

Re: Dynamic generation of XML object hierarchy using schema

2014-05-06 Thread Cezar Andrei
Joseph, Best way to learn for what you need to is to look at the implementation of xsd2inst tool: http://svn.apache.org/viewvc/xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java?view=markup Cezar On May 6, 2014, at 11:19 AM, jgagnon