This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.