I have an xml file that looks a little like this :
<Model>
<Class name="">
<Attribute name="" type =""/>
<Attribute\>
<Method name="" returnType=""/>
</Class>
</Model>
I was wondering how I could then generate a Java/C++ class from the xml. I have tried using xjc (generating a schema using AltovaXmlSpy ) but I get output that creates a class for each Class, Attribute and Mehthod, rather then putting the methods and attributes inside the Class.
Any Help Appreciated.