Almost everyday, somewhere we come across XML and we know that many systems use XML as their data store; more precisely, they talk in XML language. Now, how do I write an application where I need to present the data, which is in XML format, to users? Is it possible to write XML processing application in Java? Yes, Java SE provides extensive support for XML parsing and processing. Java supports two types of XML parsers, viz, SAX and DOM . These parsers and their supporting classes are collectively called JAXP , Java API for XML Processing. Now given a XML document, how do I transform it in a user presentable format rather than parsing the XML document? Or do I need to parse the XML to transform it? No and may be. No - you don't have to parse it to transform it; java will do it for you with the help of XSL . May be - if you want to. Enough of theory. Let's program. Here is the sample XML file. <?xml version="1.0" encoding="UTF-8"?...
All about Java Programming & Rich Client Application development using Netbeans