I am completely new to the java world and I have a requirement to generate an XML file from a .xsd file.
I did some research and found that "jaxb" can do this. And I found an example, but the problem is that almost all examples use the "xjc" tool to do this. But I want to do this through my Java code.
Leave it possible?
if yes, I think something like this from my java code
- download the .xsd file
- generate .xml
- save the .xml file
Can someone direct me to a good resource and / or say if I am mistaken in error
source share