Setting up Software for XML
XML4J is a validating parser written in the Java programming language.
It supports both DOM and SAX API's for parsing XML documents.
XML4J may be downloaded from IBM Alphaworks site at:
Open Source at IBM .
XML is the central technology of the Internet. When it first emerged in 1997 to immediate and massive media attention, reasonable people could disagree as to whether it was for real or just another overhyped acronym. Those disagreements are over: XML is for real. Initially intended as a technology for structured and linked documents, it has embedded itself deeply into the
fabric of distributed Internet applications: XML is used to describe data formats, data types, datatransformations, data linking, data transfer, and data processing.
Since XML4J is a Java based parser, you need to download and install the Java Software Development Kit (SDK) version 2 or higher to utilize this parser. The SDK may be downloaded from:
Java J2SE (now Oracle)
Popular Libraries for parsing XML in Java
Some popular libraries for parsing XML in Java include:
- JAXB (Java Architecture for XML Binding) - Provides a way to map Java classes to XML representations
- SAX (Simple API for XML) - A low-level, event-based API for parsing XML documents
- DOM (Document Object Model) - A tree-based API for parsing and manipulating XML documents
- XPath - An expression language used for navigating and querying XML documents
- StAX (Streaming API for XML) - A pull-parsing API for parsing XML documents
- Jackson XML - A data-binding library that can read and write XML documents using Jackson.