[xsd-users] xsd problem
PARAS BHATEJA
pbhateja123 at gmail.com
Mon Jun 30 12:33:18 EDT 2008
hi,
Myself* paras*,
i am using the xsd 3.1.0 compiler for converting sxhema to c++ but i am
facing a problem
i have the schema like
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="person" type="person"/>
<xs:complexType name="person">
<xs:sequence>
<xs:element name="age" type="xs:int"/>
<xs:element name="dateOfBirth" type="xs:dateTime" minOccurs="0"/>
<xs:element name="name" type="xs:string" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="type" type="xs:string"/>
</xs:complexType>
</xs:schema>
now i want a simple class that will generate the classes for all the complex
types or it can be an element, i am not getting your generated code , it is
very complex
class Person
{
int age;
char name[10];
//etc.....
}
it should be a simple template class
we have to generate simple code instead of your code. i want that the
classes generated should be simple and to the point as there are java
classes generated through JAXB marshalling and unmarshalling
with simple get and set properties
in your compiler --suppress-parser doesnot really suppress the code and we
are not able to deal with :: operators used in your .hxx files as there are
many
it is very difficult to understand the code
please reply soon
More information about the xsd-users
mailing list