Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate HTML form based on XML

Is there any way apart of XSTL which dynamically generates HTML form based on metadata specified inside a XML? Take note that I'm developing a JAVA web application here. There won't be a lot of metadata inside the XML, which means that the XML is very simple. For worst case scenario, I would just build my own XML processor and generate HTML code with Java.

like image 363
Wilts C Avatar asked Aug 27 '26 11:08

Wilts C


1 Answers

Consider JAXB to map your XML to Java objects. Once you have the data in Java, you can plug it into the templating engine of your choice.

like image 87
Alohci Avatar answered Aug 30 '26 01:08

Alohci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!