function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram Manohar GRam Manohar G 

DOM XML Parsing Wrapper Structure


Can anyone tell me which is the best structure of wrapper class to parse this XML. I want to keep this data in to wrapper. I am writing this way.

  public class InteranetData
    private String networkAvailbility{get;set;}
    private String Country{get;set;}
    private String RiskLevel{get;set;}
    public List<netstat> onnetAvail=new list<netstat>();

  public  class netstat
    public String bandwidth;
    public String type;  
  public class NetworkProviders
     List<AON> alist =new List<AON>;
      List<ExcelBB> Elist =new List<ExcelBB>;	 
   public  class AON
    public String Metroavailability;
    public String monthlyChargeble;  
   public  class ExcelBB
    public String Metroavailability;
    public String monthlyChargeble;  



Here is information about XML parsing.

You have to use DOM classes to parse the node of XML.

Ashlekh Gera