# 732

XML: A Key Powerful Software Technology to Grow Your Business and Engage Your Customers

Boost data exchange across web systems and improve customer experience with XML—key for B2B apps, RSS feeds, and interactive commerce.

Talk to the Business Architect →Every engagement begins with a conversation
with the Business Architect.

In Short

XML stores and transports structured data for systems integration. It gives computers a shared format for moving information between applications, whether the use case is B2B orders, RSS feeds, or AJAX-driven web pages. XML does not render pages on its own. It defines data with tags, elements, and a root structure that other systems can read, validate, and transform. HTML and XML are both markup languages, but they serve different jobs: HTML displays content, while XML organizes content for transfer and processing.

Summary:XML technology enables a host of new web techniques which enable B2B applications, RSS web feeds, and AJAX client side interactive web experiences. Collectively, these modern web techniques provide a more rewarding user experience and promote a closer engagement with the customer. XML and its related languages and envelopes will likely continue to be exploited to even greater effect in the web communication between buyers and sellers, vendors and clients. This article is intended to describe the functionality of that technology, and to suggest ways that users might be able to employ techniques enables by XML to grow their business and better engage and serve their customers. Chitrangana, India has in depth experience in the construction and implementation of this and similar techniques.

XML (eXtensible Markup Language) is a very important and key technology in today’s internet, and other applications involved in the smooth transfer of data between computers. As a markup language, it bears a family resemblance to other similarly named languages, most notably HTML or HyperText Markup Language. HTML is the language of the internet which allows web pages to be displayed and formatted in multiple browser configurations with the two-fold objectives of flexible formatting (to allow layouts to be presented adequately across multiple screen sizes), and the enabling of hypertext, or the links which allow the user to ‘jump’ to other related pages with the click of a mouse.

The operative genetic link between these two languages is the ‘Markup Language’ common component of their names. The markup language means that content of the files using these languages are enclosed in ‘tags’ or labels, which define their context. But there the similarity ends. HTML recognizes a list of perhaps 200 words that when properly used as labels and descriptors can allow a web page to be rendered or interpreted into what passes as a well formatted document.

XML, on the other hand doesn’t DO anything. It provides the mechanism to store reasonable amounts of data in a commonly accepted and defined format for transfer and communication between computers and systems. Its vocabulary is theoretically unlimited in that tags may be made up and transmitted at will,provided that their punctuation is proper. The files themselves are made up of elements which are delimited by these tags. XML tags are case sensitive, whereas HTML tags are not. The elements, or nodes may be multi-generational with some elements having lesser nodes describing characteristics or individuals of the larger nodes. Here’s an example of a small XML document which simulates a group of appointment book entries:

 

<?xml version=”1.0″ ?>

<appointmentplanner>

- <year value=”2010“>
- <date month=”4“ day=”15“>
<note time=”1230“>Doctor’s appointment</note>
<note time=”1420“>C# Class</note>
</date>
- <date month=”4“ day=”17“>
<note>Easter</note>
</date>
- <date month=”4“ day=”20“>
<note time=”0900“>Network Configuration Mtg</note>
</date>
- <date month=”4“ day=”20“>
<note time=”2100“>Party at Joe’s</note>
</date>
- <date month=”4“ day=”23“>
<note time=”1400“>Budget Presentation</note>
</date>
</year>
</appointmentplanner>

 

XML is truly an abstract language. There are no specific words required, only that each element, including the root element of the document itself, be enclosed by matching tags, and that its first line declare that it is an XML document.

There’s more. One can actually create an XML language which will act as a container for a specific application. This involves an additional referenced file which contains those definitions. These files are called schemas or DTD documents (Data Type Definition) which can actually define the permitted or required elements in an XML file. One could invent an XML application language which would be specific to -say– chemistry (requiring definition of atomic numbers, or isotope variants), or medicine (perhaps a separate schema for each specialty, or even for each doctor within a practice) The schemas or DTDs can define the type of data within an element – text, video, binary, file, or whatever. This is very powerful technology.

There are several ancillary technologies related to XML which magnify its strengths. For instance XPATH and XQUERY empower the user to parse an XML document to extract portions or elements of the document related to what he is seeking – much like Regular Expression and database query technologies. XSLT uses the XPATH functionality to format an XML document. And there is facility within modern day relational databases to receive data from XML, and deliver data from XML, distributing and gathering it appropriately from relational tables.

The flexibility and abstract nature of XML make the protocol extremely adaptable and useful for exchanging all manner of data between applications.

Business to Business transactions are now typically (orders, confirmations, quotes) transacted using XML, or one of its variants or extensions. This allows a buyer company using Windows machines to communicate and accept confirmation of orders to their supplier company who is running a Unix system
RSS transmissions are standardized using XML, or its close cousin ATOM protocols. This allows a light weight individually tailored package to be delivered to the user and interpreted successfully, whether the user is a Mac Windows, or Linux machine.
XML allows websites to provide a web page to be displayed and tailored to each individual. This is more complex than Amazon’s personal recommendations. This technique is closer to the iGoogle page which allow you to construct your own home page. The preferences and URLs you ask for, are formatted to the way you set them, then stored in an XML file.
XML technology would allow you to construct a feed of your Twitter or Product Specials information to be constantly updated on your blog or website.
AJAX (asynchronous Javascript and XML) techniques which use XML with javascriptis a technique which allows an interactive and dynamic web experience for the user by empowering the client side web application to update the web page depending on choices made real time by the user.
The best thing about these interactions is that they are done under the radar. There is no need to take any action either as sender or receiver of this information, since the XML filesare created and interpreted without any human interaction. This is a very easy to provide updated fresh content for a website or blog without expending additional resources. XML is related to and is basic to similar protocols like SOAP (Simple Object Access Protocol) and JSON (JavaScript Access Notation).

Frequently asked

How does XML differ from HTML in practical system design?
HTML formats a web page for display in a browser. XML structures data so other systems can read, validate, and transfer it. The difference matters when the goal is data exchange rather than page rendering. XML does not perform the display function itself; another system must interpret or transform it.
When does XML make more sense than a fixed database table format?
XML fits cases where the structure needs to stay flexible across different systems or domains. The article describes schemas and DTDs that can define allowed elements and data types, which makes XML useful when one application must carry different shapes of data, such as chemistry or medicine.
What role do schemas and DTDs play in an XML implementation?
Schemas and DTD documents define the rules for an XML file. They can require certain elements, limit what elements are allowed, and define the type of data inside each element, such as text, video, or binary. That turns XML from an open structure into a controlled application language.
How do XPath, XQuery, and XSLT change what XML can do?
XPath and XQuery let a system parse XML and extract specific portions of a document. XSLT uses XPath to format XML into another presentation form. Together, they move XML from storage and transport into retrieval and transformation.
Why is XML useful in B2B transactions across different operating systems?
XML gives two companies a common format for orders, quotes, and confirmations even when one uses Windows and the other uses Unix. The article treats the operating system difference as irrelevant once both sides agree on the XML structure.
How do RSS and Atom use XML differently from a full website?
RSS and Atom deliver a lightweight, standardized package of content rather than a complete website. The article says XML or Atom can send tailored updates to users on Mac, Windows, or Linux, which makes the feed portable across platforms.
What makes XML useful for personalized web pages?
XML can store preferences and URLs for a custom home page, then present that data in the way a user set it. The article compares this to an iGoogle-style page, where the structure is saved and later rendered according to the stored choices.
What is the cost or effort profile of using XML for fresh website content?
The article says XML files can be created and interpreted without human interaction. That reduces manual handling when a site needs updated content such as Twitter feeds or product specials, because the data can move through the system under the radar.
Where does XML stop being the right choice?
XML does not render content on its own, and it has no built-in behavior beyond structuring data. When the task is only visual presentation, HTML fits better. When the task is data exchange, validation, or transformation, XML is the more direct fit.
How does AJAX use XML in an interactive web experience?
AJAX uses XML with JavaScript to update a web page in response to user choices made in real time. The article frames this as a client-side interaction model, where the page changes without requiring the user to restart the whole page flow.
What is the relationship between XML and relational databases?
The article says modern relational databases can receive data from XML and deliver data from XML. XML acts as the exchange format, while the database distributes or gathers the data across relational tables according to its own structure.
How do SOAP and JSON relate to XML in the article’s framing?
The article treats SOAP as related to XML and says XML is basic to similar protocols like SOAP and JSON. In that framing, XML is the structural layer that influenced later exchange formats and message envelopes.

Wondering where your business sits in the commerce shift?

We map how ready you are today — and design the architecture that keeps you the answer, not the afterthought.

Talk to us