I have a large number of xml files:
Firstly:
<xmldata1> <record> <property11>abc</property11> <property12>def</property12> <property13>xyz</property13> ............ </record> ........ </xmldata1>
Secondly:
<xmldata2> <record> <property21>abc</property21> <property22>def</property22> <property23>xyz</property23> ............ </record> ........ </xmldata2>
etc.
There will no longer be nested tags. But the property tag name will be different for each xmldata file.
So, I want to dynamically generate an HTML form using XSLT , which will be used to read data for each xml . If for each property you should use a simple text box. and we can take the first entry as a reference for the number and name of the properties.
Output required
<form name ="xmldata1"> <table> <tr> <td>property11 :</td> <td><input type="text" name="property11"></td> </tr> ....... and so on </table> </form>
How can i achieve this. Where can I find an example for an example.
source share