ansari.wajid 0 Light Poster

Hi

Below is the XML structure
<?xml version="1.0" encoding="utf-8" ?>
- <Salary>
<empNo Required="true" List=”false ></empNo>
<Basic Required="true" List="false” >Basic Salary</Basic>
<HRA List="false” >Housing Allow</HRA>
<TA List="false” >TA</TA>
<Others List="true >Other Allowances</Others>
<Total List="false” Required="True">Total Salary</Total>
- <Sex List="true">
Sex
<gender>Male</gender>
<geneder>Femal</geneder>
</Sex>
</Salary>
I am having a requirement of Creating a Webform with the xml Nodes . The Form layout need to be generated by reading the xml structure. If the xml node contains the property list as true add the dropdown list ,If it contains list value as false add the textbox as input controls. The Values of the xml node elements values like’Housing Allow’ ,’TA’ should display as label in the form and need to add a submit button to save the Data.
Please let me know how to do this.

Thanks