1

I just want to create XML file by only using XSD without using any POJO. I tried to search solutions, but most of them using JAXB those are dependent on Classes and Marshaling. I feel like to create an XML file with XSD we don't require any other dependencies.

1 Answer 1

1

I got the simplest solution for this problem using jlib.

https://github.com/elbuo8/Sample-XSD-to-XML-Batch-Generator/blob/master/Runner.java

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.