Helping ordinary people create extraordinary websites!

Xml Tutorials


XML Tutorials are a great way to learn more coding strategies and principles of XML. Below is our collection of articles and tutorials where you should be able to find the right XML tutorial to suit your need.

Starting with XML
Nov 7th by Neil Williams

XML continues the separation of data from presentation, to the point that one XML stylesheet contains all the common HTML code and a separate CSS stylesheet contains the formatting code. The XML file itself only needs to contain the code that is specific to that page.
Performing Client-Side XSL Transformations
Dec 12th by Tony Marston

It is a feature of my software that I produce HTML output from XML documents with server-side XSL transformations. This means that as well as producing the XML document I transform it into HTML on the server before I send the result to the client.
Create a Google Sitemap for your Web Site
Aug 11th by Herman Drost

Google Site Maps is a simple and fast way for your site to be constantly indexed and updated by Google. This article will discuss the benefits of implementing this new technology, who should use it, how it works and how to create a Google Site Map for your web site.
XML and Scripting Languages
May 18th by Parand Tony Darugar

In this first tutorial of his series on using scripting languages to manipulate and transform XML documents, Binary Evolution's Parand Tony Daruger takes you through the first steps of using these techniques with Perl. You'll see a method for transforming XML to HTML, followed by a simple stock trading application that...
Parsing Comma-Separated Values
May 18th by Doug Tidwell

Ask the expert: My assignment on an XML pilot project is a transformation from data formatted in comma-delimited files (CDF) that the customer wants to transform into XML data. Seems logical enough, but I can't find any reference to a CDF-to-XML translator. What would you suggest? --Tom Watson, consultant Doug Tidwell...
XML Security Suite: Increasing the Security of E-Business
May 18th by Doug Tidwell

As more and more companies use XML to transmit structured data across the Web, the security of documents becomes increasingly important. This article presents some basics of Web security, describes the components of the XML Security Suite, and gives examples that illustrate how the technologies in the XML Security Suite...
Servlets and XML: Made for Each Other
May 18th by Doug Tidwell

Find out how Java servlets and XML work together to generate an XML document and DOM tree and interface with a database. This article includes a couple of useful techniques: using HTTP parameters to control processing and generating a DOM tree without an XML source document.
Thinking XML: State of the Art in XML Modeling
May 16th by Uche Ogbuji

The running theme of the column has been semantic transparency: the ability to correctly interpret the contents of XML documents. Semantic transparency might be the most important aspect of XML modeling. This is first in a series of articles that review the many different approaches to semantic transparency and discuss...
Tip: Create Multiple Files in XSLT 2.0
May 16th by Jack Herrington

For any reasonably complex data set, you need multiple views to navigate it. Take a QA test system, for example: With a pool of tests and test results, you need to see the data by date, by test category, by individual test, and so on. Each view would be in its own HTML file. So, can you have a single template in XSLT 2.0...
Linking in XHTML 2.0
May 4th by Micah Dubinko

As a fundamental part of the Web, hypertext linking has been the subject of repeated attempts at standardization beyond the basic format allowed in simple HTML. Such attempts can be characterized as efforts to balance machine processing ability with authoring convenience. The latest specification in this area, XHTML 2.0,...
Tip: Batch Processing XML with XSLT 2.0
May 4th by Jack Herrington

A common problem with XSLT is that it takes only a single XML file as input. You can use a cross-platform Java™ tool to create an XML directory listing, then use XSLT to process every file in the directory from that listing. This tip covers installation and use of such a tool, as well as the corresponding XSL that...
Text Configuration Files and XML
Apr 25th by Tony Lawrence

Configuration files are a problem for both operating systems and applications. Where do you keep them, how are they structured? Traditionally, Unix systems used text files with wildly varying internal structures, and Windows used either binary data or ".ini" text files (in this sense, "binary" is used for anything that...
Introduction to XML Events
Apr 22nd by Micah Dubinko

A number of markup technologies involve attaching behaviors to specific parts of a document. XML Events is a W3C Recommendation that allows declarative attachment of a behavior -- which can be a predefined bundle of actions defined in XML or a more general call to a scripting language -- to a specific element. This article...
Reusable XSL Stylesheets and Templates
Apr 20th by Tony Marston

When producing software it is not considered good practice to write the same code over and over again. Not only is this inefficient when writing the code in the first place, it is also inefficient when the time comes to make changes as the same change has to be made to every copy of that code.
Using PHP 5s XSL Extension to Perform XSL Transformations
Apr 19th by Tony Marston

This tutorial is for developers who wish to know how to generate HTML documents using a combination of XML data and XSL stylesheets. It also includes examples of how to use XSL parameters and included stylesheets.
Tip: Use XML to Send SMS Messages
Apr 11th by Nicholas Chase

Many developers tend to think of Web services as a way to easily move information from one place to another, but it's also important to understand how integral a Web service can be to the overall application. This tip gives some examples of using XML for Short Message Service (SMS) messages. If you're familiar with SMS,...
Tip: Use Data Dictionary Links for XML and Web Services Schemata
Apr 9th by Uche Ogbuji

When designing XML and Web services schemata you will often (and ideally) reuse data elements defined in pre-existing standards. When you do, it is extremely useful to include links to such standards, providing precise data dictionary references. In so doing, you make processing and maintenance easier to automate. This tip...
Working XML: Fundamentals of Web publishing with XML
Jun 28th by Benoit Marchal

As more developers learn and experiment with XML, many have become interested in using stylesheets to publish and manage Web sites. In this article, Benoit Marchal provides step-by-step instructions to get you started. He shows how to organize your project in source, rules (stylesheets), and publishing directories.
Better SOAP Interfaces With Header Elements
Jan 26th by Benoit Marchal

SOAP, the Simple Object Access Protocol, is an evolving W3C standard. Developed by IBM, Microsoft, DevelopMentor, and UserLand Software for the exchange of information over a network, SOAP stands at the point where three technologies -- Remote Procedure Call (RPC), XML, and Web applications -- are converging.
Variable Substitution In XML Documents
Jan 7th by Brett McLaughlin

XML is primarily a static language. However, by using entity references, you can perform a limited amount of dynamic substitution. This tip explains how to use entity references, and shows you how they are useful.
Create JPEGs Automatically With SVG
Dec 22nd by Benoit Marchal

In this tip, Benoit Marchal discusses a pragmatic approach to Scalable Vector Graphics (SVG). Until the SVG viewer becomes as ubiquitous as the Macromedia Flash player, it will be difficult to incorporate SVG images directly into a Web site. In the meantime, Web developers benefit from generating JPEGs and...
Grab Headlines From A Remote RSS File
Dec 19th by Nicholas Chase

In this article, Nick shows you how to retrieve syndicated content and convert it into headlines for your site. Since no official format for such feeds exists, aggregators are often faced with the difficulty of supporting multiple formats, so Nick also explains how to use XSL transformations to more easily deal...
Tip: Convert from HTML to XML with HTML Tidy
Dec 16th by Benoit Marchal

This tip demonstrates how to convert HTML documents to XML (or more specifically, XHTML) with a simple, open source tool, HTML Tidy. This conversion is useful for webmasters who are migrating to XML. It can also help XML converts who have to interface with legacy HTML tools.
XML and How it Will Change the Web
Sep 17th by Doug Tidwell

If you listen to the current hype, XML sounds like a technological achievement on a par with sliced bread and the wheel. Beneath the hoopla, XML represents the next evolution in Web technology. In this article you can explore the basics of XML and find out how it will change the Web.


GET OUR NEWSLETTERS