Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate dynamic controls by XML Parsing in Ipad

Any Body help me.

I want to create one Dynamic view. In which i want to add dynamic controls. These controls are come from xml. And need to display in single view on click event of button.

My xml format is like as below.

    <?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>

Thanks

like image 716
Hiren gardhariya Avatar asked Nov 04 '22 18:11

Hiren gardhariya


1 Answers

i don't know how to make this but i think this may help you

check this

and read about views (apple docs)

like image 144
Gabrail Avatar answered Nov 08 '22 10:11

Gabrail