XML Tutorials RSS Feed for 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

Starting with XML

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.

Parsing XML using PHP

Parsing XML using PHP

By handling mime-types and using browser detection, CodeHelp has already shown how to export XML using a PHP script. PHP can also receive XML as input – using the XML parser…

Performing Client-Side XSL Transformations

Performing Client-Side XSL Transformations

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.

Parsing XML using PHP5

Parsing XML using PHP5

This tutorial is a follow up to my earlier tutorial, Parsing XML using PHP4 and highlights the improvements in XML handling with PHP5.

Parsing XML using PHP4

Parsing XML using PHP4

This tutorial will explain how to parse (that is, read and interpret) information from a XML file using PHP. I will discuss the very basics of XML (mainly structure), and then jump right in to the reading and parsing of XML files. This is not a tutorial on XML itself, just parsing XML with PHP.

A Simple Way to Read an XML File in Java

A Simple Way to Read an XML File in Java

This is actually a piece of code used by me to access XML files through Java. I have added some explanation. In case you are interested in knowing how to access XML files using Java, quickly without reading a lot of material, this is the right article for you.

XML and Scripting Languages

XML and Scripting Languages

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 uses Perl, XML, and a database to evaluate trading rules. You can apply the techniques using other scripting languages too, including Tcl and Python.

Parsing Comma-Separated Values

Parsing Comma-Separated Values

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 responds: Tom, I think I have a solution. It all starts with getting the data.

XML Security Suite: Increasing the Security of E-Business

XML Security Suite: Increasing the Security of E-Business

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 increase the security of Web commerce.

Servlets and XML: Made for Each Other

Servlets and XML: Made for Each Other

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.