Devendra Dighe

Devendra Dighe

  • NA
  • 78
  • 5.6k

Populate bootstrap dropdown from xml

Sep 3 2020 5:56 AM
How to populate bootstrap dropdown list from xml file . I am Not getting any solution.
 
this is my XML file
  1. <Dependent>   
  2.     <Realtion>   
  3.         <id>0</id>   
  4.         <name> </name>   
  5.     </Realtion>   
  6.     <Realtion>   
  7.          <id>1</id>   
  8.          <name>Son</name>   
  9.      </Realtion>   
  10.      <Realtion>   
  11.          <id>2</id>   
  12.          <name>Daughter</name>   
  13.     </Realtion>  
  14. </Dependent>
I am using bootstrap dropdown
 
<button type="button" class="btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" required="required"> Select<span class="caret"></span>
</button>

Answers (1)