java - Create xml template from xsd -


i have requirement create xml templates based on xsds, i'm not sure what's best approach take.

my input these xsds, , output must this:

<root>  <tag1>${root.tag1}</tag1>  <tag2>   <tag3>${root.tag2.tag3}</tag3>  </tag2> </root> 

i know can use jaxb generate java classes, i'm not sure how create xmls , populate them placeholders , showed in example.

does have suggestion?

thanks in advance.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -