XML- SAX Parser using JAXP API

XML- SAX Parser using JAXP API

In the previous issue of Java Jazz Up you have read about XML technology. In this issue, you will learn how XML technology works with Java using different kinds of XML parsers. Lets quickly focus on the overview of XML.

XML is a W3C Recommendations. It stands for Extensible Markup Language. It is a markup language much like HTML used to describe data. In XML, tags are not predefined. A user defines his own tags and XML document structure like Document Type Definition (DTD), XML Schema to describe the data. Hence it is self-descriptive too. There is nothing special about XML It is just plain text with the addition of some XML tags enclosed in angle brackets. In a simple text editor, the XML document is easily visible.

Below is a list of XML-related technologies:

Technology Document
DTD (Document Type
It is used to define the legal elements in an XML document.
XSD (XML Schema) It is an XML-based alternative to DTDs.
XHTML(Extensible HTML) It is a stricter and cleaner version of HTML.
XSLExtensible Style
Sheet Language)
XSL consists of three parts: XSLT - a languagefor transforming XML
documents, XPath - a language for navigating in XML documents, and
XSL-FO - a language for formatting XML documents.
XSLT(XSL Transformations) It is used to transform XML documents into other XML formats, like XHTML.
XML DOM (XML Document Model) Defines a standard way for accessing and Object manipulating XML documents.
Technology Document
XPath It is a language for navigating in XML documents.
XSL-FO (Extensible Style Sheet Language Formatting Objects) It is an XML based markup language describing the formatting of XML data for output to screen, paper or other media .
XLink (XML Linking Language) It is a language for creating hyperlinks in XML documents.
XPointer (XML Pointer Language) It allows the XLink hyperlinks to point to more specific parts in the XML document.

XForms (XML Forms)

It uses XML to define form data.
XQuery (XML Query Language) It is designed to query XML data.
SOAP (Simple Object Access Protocol) It is an XML-based protocol to let applications exchange information over HTTP.
WSDL (Web Services Description Language) It is an XML-based language for describing web services.
RDF (Resource Description Framework) It is an XML-based language for describing web resources.
RSS (Really Simple Syndication) It is a format for syndicating news and the content of news-like sites.
WAP (Wireless Application Protocol) It was designed to show internet contents on wireless clients, like mobile phones.
SMIL (Synchronized Multimedia Integration Language) It is a language for describing audiovisual presentations.
SVG (Scalable Vector Graphics) Defines graphics in XML format.
Feb  2008 | Java Jazz Up |23
View All Topics
All Pages of this Issue
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 , 54, 55, 56, 57,

, 59, 60, 61, 62, 63 , 64, 65 , 66 , 67 , 68 , 69 , 70 , 71 , 72 ,

Download PDF