Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Please visit
http://www.wellho.net/resources/P668.html
for the latest update to this page

Related technical and longer articles
Using LWP to write Web Clients
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Handling XML in Perl - module P668
The Extensible Markup Language (XML) is an important tool in structuring data. This training module covers the two major XML engines that are supported by Perl modules, and teaches you how to program using them. We also cover handling XSLT in Perl.

This topic is presented on public course Perl for Larger Projects

Examples from our training material
camels.xml   XML sample for xslt1 demo
camels.xsl   XSLT sample for xlst1.pl demo
exp.pl   Direct use of the Expat module
gnome.pl   Parsing XML through LibXML
goblin.pl   Altering an XML document through LibXML
medireport.pl   Using XML::Parser to extract information - practical example
mediweb.pl   Parsing XML within a cgi script
medline.pm   Class of XML element handlers
stdsubs.pm   Standard cgi handler to collect form data
xml0.pl   Parsing XML - first test program
xml1.pl   Using debug mode to quickly check a document
xml2.pl   Using Subs to report on an XML source
xml3.pl   Illustration of handling a stream
xml4.pl   Converting an XML document into a tree in Perl collection variables
xml5.pl   Alternative - using handlers
xslt1.pl   Using XML and XSLT to turn data into a web page
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
What are XML, XSLT, DTD, Schema etc.?
Installation of modules and support libraries.
The Expat and Gnome libraries.
XML::Parser and XML::Parser::Expat.
Parser principles; styles and event-based handlers.
XML::LibXML.
Editing and rewriting XML.
XML Style Sheet transforms with XML::LibXSLT.
Case Study - a system to extract XML data and generate fixed field records.
Course links
The following web pages are used as references / examples in this module

[Link] XSLT namespace
(at http://www.w3.org/1999/XSL/Transform)

[Link] No Title
(at http://www.w3.org/1999/XSL/Format)

[Link] The XML C parser and toolkit of Gnome
(at http://www.xmlsoft.org)

[Link] No Title
(at http://www.nlm.nih.gov/databases/dtd/nlmmedline_001211.dtd)

We check these links from time to time with a spider written in PHP. Latest full check was on Saturday, 12th June 2004. Titles are extracted from the web pages listed.

Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses 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 600 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.



WELL HOUSE CONSULTANTS LTD.: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho