Exercises, examples and other material relating to training module A301. This topic is presented on public courses Deploying LAMP - Linux, Apache, MySQL, Perl/PHP
, Linux Web Server
, Deploying Java Applications on Linux / Unix
XML provides you with the ability to mark up data that's held in a plain text format to describe what each piece of the data is about. This module introduces you to basic XML, and the tools (XSLT, parsers, etc.) that you'll need to make practical use of it.
Related technical and longer articlesHandling XML in JavaUsing LWP to write Web Clients
|Articles and tips on this subject||updated|
|1050||The HTML++ Metalanguage|
What's the difference between a language and a metalanguage?
A language is a single specification - a way of describing a series of actions or how some particular data is handled. Whereas a metalanguage is a way of specifying a series of languages to a particular pattern.
An example? HTML is a language. ...
|2554||Adding retrospective ALT attributes to IMG|
You'll find this is article number 2554 on this blog ... with article number 1 written as long ago as 5th August 2004. I didn't plan that I would still be writing five years later (I thought, to be frank, that I would run out of things to say in a few weeks), nor did I properly anticipate the amount ...
|2378||Handling XML in Perl - introduction and early examples|
There are hundreds of modules (literally) in Perl for handing XML. Some of them are highly specialised, but others are of much more general use in reading (and in some cases writing) XML streams.
(definition of XML: Extended Markup Language - a tagging system in plain text for marking up data; not ...
|2246||What difference does using the XHTML standard really make?|
I enclose my HTML attributes in quotes - or at least when I remember, I do!
I always provide a matching close tag to go with each opening tag - except when I forget to do so, or am in a hurry
I make sure I provide an alt attribute with each image - although sometimes I really don't know what I would ...
|1901||XML, HTML, XHTML and more|
HTML is a language ... but XML is a Metalanguage. In other words, you can write something in HTML and have it (quite) well defined, whereas anything you write in XML has to have another layer of definition there to tell you what's valid and what isn't. XML is a set of over-arching rules in which you ...
Want to provide sites that work close along side you with a feed of your blog? In recent versions of PHP, you can include a remote file from their server in your page. Here's a little example that's on our site - we're pulling down a piece of PHP via a URL.
Want the latest news from Well House Consultants? ...
Examples from our training material
PicturesThe DOM and SAX models for handling XML data
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
What is XML?.
The structure of an XML document.
Examples of XML documents.
Alternatives to XML.
When to choose XML and when to use a database.
Defining data types with DTD and XML schema.
Parsing XML - SAX and DOM.
SAX code example.
DOM code example.
Formatting XML data with XSLT descriptors.
Accessing XSLT from programs.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
Linux and LAMP
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.