Randall, You can override the default "name" for the root element by changing your export call to root_element.export(file_reference, 0, namespace, name_ = 'RootElement)
have a good day, Logan On 04/18/12 12:50, Randall Smith wrote: > Hi, > > I used generateDS to generate classes from xsd schemas. After creating > objects from these generated classes, I export the root element using > the format root_element.export(file_reference, 0, namespace). The root > element is generated as "RootElementType" instead of "RootElement", > which fails validation (xmllint). > > I would be glad to provide specifics, but the schemas are extensive (100 > kB zipped). What might be the error on my part and/or what other > information would be useful to troubleshoot this? > > Thanks. > > -Randall > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ > generateds-users mailing list > generateds-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/generateds-users ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users