You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
you need to use xml parser.java provide xml parser class. you can use those class for parsing your xml file and get the value of tag and contain of the tag as well as subtag of xml file.
Handling the XML once it has been received is pretty straight forward. You can use for instance JAXB to create Java objects based on the XML data. JAXB is part of the JWSDP. This will work for amounts of data that are small enough to fit in memory. If you want to process larger data sets, using a SAX parser is probably best.