Create dynamic controls using XML parsing in iPad

Any Body helps me.

I want to create one dynamic view. In which I want to add dynamic controls. These controls come from xml. And you need to display in a single view when you click a button button.

My XML format is as follows.

    <?xml version="1.0"?><customer><cust type="101"><lable><1> customer name </1><2> customer phone </2><3> customer age </3><4> customer Birth </4></lable><value><1>textfield</1><2> textfield </2><3> textfield </3><4>Date</4></value></cust><cust type="102"><lable><1> customer qualification </1><2> customer Email</2></lable><value><1>textfield</1><2>Email</2></cust><cust type="103"><lable><1> customer name </1><2> customer phone </2><3> customer age </3><4> customer Birth </4></lable><value><1>textfield</1><2>textfield</2><3>textfield</3><4>Date</4></value></cust><cust type="104"><lable><1> customer qualification </1><2> customer Email</2><3> customer gender </3><4> customer Birth </4></lable><value><1>textfield</1><2>textfield</2><3>CheckBox</3><4>Date</4>

thank

+5
source share
1 answer

I don’t know how to do it, but I think it can help you

check this

and read about views (apple docs)

+2
source

All Articles