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 - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -