Results 1 to 3 of 3

Thread: Api

  1. #1
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

    Default Api

    I am about to start writing a java application which will take XML files as input and retrieve data from the files and display it by various means. Which is the best API to use? Different people seem to recommend DOM, SAX, JAXP, JDOM and I recently heard of XOM as well. Any ideas? (bearing in mind i'm a java beginner but know a fair amount about XML)
    Thanks

  2. #2
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

    Default

    JAXP is easy to use

  3. #3
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    7

    Default

    If you don't want get into any XML API and would rather prefer Java-style access to the XML document, DOM4J or JDOM would definitely be the better choice. DOM4J is probably the more widely used one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •