Examples of XML technology Web Designing

With XML's ability to allow customized tagging systems, it's not surprising that it is finding a wide variety of uses. It has already made a big impact on the Internet since its formal introduction in 1998. This section takes a look at just a few of the ways XML is being put to work.

Standard XML Languages
The World Wide Web Consortium monitors standard XML applications (languages written according to the rules of XML) that have an impact on how media is presented over the Web, thus changing the Web's capabilities. In fact, virtually all new web-related technologies and languages developed by the W3C follow the rules of XML. This section looks at the more prominent developments.

Synchronized Multimedia Integration Language (SMIL)
SMIL (pronounced "smile") is an XML language for combining audio, video, text, and graphics in a precise, synchronized fashion.

Scalable Vector Graphics (SVG)
XML has typically been used to define the structure of text elements within a document; however, many groups are working on ways in which it could be used to define graphical information as well. The W3C is developing theScalable Vector Graphic (SVG) standard.

According to the W3C:SVG is a language for describing two-dimensionalgraphics in XML. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), images and text. Graphical objects can be grouped, styled, transformed and composited into previously rendered objects. Text can be in any XML namespace suitable to the application, which enhances searchability and accessibility of the SVG graphics. The feature set includes nested transformations, clipping paths, alpha masks, filter effects, template objects and extensibility.

The following sample SVG code (taken from the W3C Recommendation) creates an SVG document fragment that contains a red circle with a blue outline(stroke):

<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"><svg width="12cm" height="4cm"><desc>Example circle01 - circle expressed in physical units</desc><circle cx="6cm" cy="2cm" r="1cm" style="fill:red; stroke:blue; stroke-width:0.1cm" /></svg>

The SVG standard provides ways to describe paths, fills, a variety of shapes, special filters, text, and basic animation.

Adobe offers tools for both creating and viewing SVG files. The drawing program Illustrator 9 can now export .svg files directly. Adobe's SVG Viewer is a browser plug-in available for Navigator and Internet Explorer 4 and higher for Windows and Macintosh that allows SVG files to display in the browserwindow.

Mathematical Markup Language (MathML)
MathML is an XML application for describing mathematical notation andcapturing both its structure and content. The goal of MathML is to enablemathematics to be served, received, and processed on the World Wide Web, just as HTML has enabled this functionality for text. MathML became a formal W3C Recommendation in February 2001.

Because there is no way to reproduce mathematical equations directly using HTML, authors have resorted to inserting graphical images of equations into the flow of text.

This effectively removes the information from the structure of the document. MathML allows the information to remain in the document in a meaningful way. With adequate style sheets, mathematical notation can be formatted for high-quality visual presentation. Several vendors offer applets and plug-ins that allow the display of MathML information in browser windows.

Resource Description Framework (RDF)
RDF is an XML application used to define the structure of metadata for documents (i.e., data that is useful for indexing, navigating, and searching a site). A formal method for describing the contents of a web site, page, or resource could be useful to automated agents that search the Web for specific information. Metadata could be used in the following ways:

  • For resource discovery to provide better search engine capabilities
  • In cataloging for describing the content and content relationships available at a particular web site, page, or digital library
  • By intelligent software agents to facilitate knowledge sharing andexchange
  • In content rating
  • In describing collections of pages that represent a single logical"document"
  • For digital signatures that allow electronic commerce, collaboration, and other "trust"-based applications

Other XML Applications
Some XML technologies serve a specific community, as the Chemical Markup Language serves the scientific community, but these technologies are often of limited interest to most publishers. Others are so specific that they serve only a particular intranet of a single business.

XML is poised to become a major player on the Internet. Companies are excited by the technology and have invested large amounts of time and money in its development.The following are just a few of the ways XML is being implemented today.

Wireless Markup Language (WML)
WML is an XML application for marking up documents to be delivered to handheld devices such as PDAs and cell phones.

DocBook is a DTD for technical publications and software documentation.

Chemical Markup Language (CML)
CML is used for managing and presenting molecular and technical information over a network.

Open Financial Exchange (OFX)
OFX is a joint project of Microsoft, Intuit, and Checkfree. It is an XMLapplication for describing financial transactions that take place over the Internet.

Simple Object Access Protocol (SOAP)
This technology, developed by Microsoft, DevelopMentor, and UserlandSoftware, uses the ubiquitous support for XML and HTTP to provide a way for applications to talk to each other over the Internet, regardless of platform and through firewalls.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Web Designing Topics