This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm new to this JAXBElement can you please assist me, i saw and example of Using JAXB to generate XML from XSD, i did the example i found here it works perferct, when i implement it using my xsd it only print out 2 lines of code for xml.
But before doing marshalling testing, did you not find error(s) when you compiled the schema? (I think you probably should find some errors if you look into it.) You should have them debugged before doing anything else.
Joined: Jan 23, 2013
Thanks g tsuji, I noticed that the grammar of xsd had error, I recopied it and generated java classes and when I check my code I was suppose to write it using the bottom up approach of which I didn't use in the code, but anyhow I managed to generate an xml using marshaller.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com