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

Free Online Certification Courses – Learn Today. Lead Tomorrow. Forums Apache Spark How do you parse data in xml? Which kind of class you use with java to pass data

Viewing 1 reply thread
  • Author
    Posts
    • #5409
      DataFlair TeamDataFlair Team
      Spectator

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

    • #5414
      DataFlair TeamDataFlair Team
      Spectator

      –> One way to parse the XML data in Java is to use the JDOM library. One can download it and import the JDOM library in your project. You can get the help from Google. If still, required help post your problem in the forum. I will try to give you the solution.

      –> For Scala, Scala has inbuilt library for xml parsing. Scala-xml_2.11-1.0.2 jar (please check the for new version if available).

Viewing 1 reply thread
  • You must be logged in to reply to this topic.