Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you parse data in xml? Which kind of class do you use with java to parse data?



How do you parse data in xml? Which kind of class do you use with java to parse data?..

Answer / Desh Deepak

"To parse XML data in Java, you can use the DocumentBuilderFactory and DOMParser classes. You can create an instance of DocumentBuilderFactory, use its newDocumentBuilder() method to get a DOM parser, and then load the XML document using its parse(InputStream is) method. This will return a Document object containing the parsed XML data."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

Why is spark fast?

1 Answers  


What exactly is spark?

1 Answers  


What is spark used for?

1 Answers  


What are the various storages from which Spark can read data?

1 Answers  


Explain values() operation in apache spark?

1 Answers  


What is difference between dataset and dataframe in spark?

1 Answers  


Which storage level does the cache () function use?

1 Answers  


Are spark dataframes distributed?

1 Answers  


How is spark fault tolerance?

1 Answers  


How Spark uses Akka?

1 Answers  


Hadoop uses replication to achieve fault tolerance. How is this achieved in Apache Spark?

1 Answers  


Name some internal daemons used in spark?

1 Answers  


Categories