Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Sample RSS data feed (XML data)
Handling XML in Perl example from a Well House Consultants training course
More on Handling XML in Perl [link]

This example is described in the following article(s):
   • Handling XML in Perl - introduction and early examples - [link]

This example references the following resources:

Source code: index.xml Module: P668
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<title>Horse&apos;s Mouth</title>
<description>Musing, events and thoughts from Graham Ellis</description>
<copyright>Copyright 2009</copyright>
<lastBuildDate>Wed, 26 Aug 2009 05:03:18 +0000</lastBuildDate>
<pubDate>Wed, 26 Aug 2009 08:05:56 +0000</pubDate>

<title>Wiltshire / Melksham Weddings - guest accommodation</title>
<description>Let&apos;s face it - it&apos;s the big day for
the bride, and the last thing she wants to be worried about
it where her more geographically distant friends and relatives
will stay, whether they can get into their hotel rooms...</description>
<pubDate>Wed, 26 Aug 2009 05:03:18 +0000</pubDate>
<title>Long job - progress bar techniques (Perl)</title>
<description>Here&apos;s a &quot;Perl for Larger Projects&quot;
example --- for use in illustrating the &quot;advanced file and
directory handling&quot; and &quot;handling huge data set&quot;
modules. Scenario ... I want to go through all the files and
directories on a big drive,...</description>
<pubDate>Wed, 26 Aug 2009 01:16:15 +0000</pubDate>
<title>Designing your data structures for a robust Perl application</title>
<description>Whatever language you&apos;re programming in, design
of your data structures is important. You should consider such
design ahead of time, and before you start to code - &quot;What
am I going to be doing with this data&quot; and &quot;how
<pubDate>Tue, 25 Aug 2009 08:09:17 +0000</pubDate>
<title>Lead characters on Perl variable names</title>
<description>Perl variable names mostly start with a special
character: $ for a scalar variable - that&apos;s a variable that
can hold an integer, a float, a string, a reference, or a compiled
regular expression (that last not being terribly
<pubDate>Mon, 24 Aug 2009 21:38:14 +0000</pubDate>
<title>Translation from Ghanaian to English</title>
<description>In response to an email I have just received ... which
shouts the subject line DO NOT IGNORE at me ... I&apos;m not ignoring
but providing you with a translation! Hello Hello Pardon me for
not having the pleasure of...</description>
<pubDate>Sun, 23 Aug 2009 20:49:24 +0000</pubDate>
<title>Public Transport from (and to) Melksham on Sundays</title>
<description>I walked into the Town Centre in Melksham at around
9 O&apos;clock this morning - a bright sunny morning and it was
(as you would expect) quietish, but it certainly wasn&apos;t
deadly quiet. A young gentlemen approach me, asking me...</description>
<pubDate>Sun, 23 Aug 2009 16:44:52 +0000</pubDate>
<title>Quiet summer days? I think not!</title>
<description>I was amused at the co-incidence ... to see that
one of our most downloaded images in the last 24 hours has been
this one, taken st least three years ago at the rear of &quot;
404&quot;. It&apos;s a co-incidence because...</description>
<pubDate>Sat, 22 Aug 2009 23:41:16 +0000</pubDate>
<title>C++, Python, and other training - do we use an IDE</title>
<description>A question from my inbox ... &quot;Do you use
Visual Studio, or a similar IDE&quot;. And worth a full answer,
and one to be shared. An IDE or Integrated Development Environment
is a piece of software that provides the programmer...</description>
<pubDate>Fri, 21 Aug 2009 17:25:56 +0000</pubDate>
<title>Using a cache for efficiency. Python and PHP examples</title>
<description>Ask yourself &quot;how long is it (in seconds) from
5.36 a.m. and 20 seconds to 6.04 a.m. and 39 seconds&quot;.
Have you worked that out? Now - how long is it (in seconds)
from 5.36 a.m. and 20 seconds to...</description>
<pubDate>Fri, 21 Aug 2009 07:25:05 +0000</pubDate>
<title>Python - fresh examples of all the fundamentals</title>
<description>Some more new examples in Python - from this
week&apos;s course. From my Introduction to Python / simple
example to show the power of the language, I present my example
that parsed a big data (log) file and counter and...</description>
<pubDate>Thu, 20 Aug 2009 22:10:36 +0000</pubDate>
<title>Learning to program - how to jump the first hurdles</title>
<description>From last Sunday ... here are links to the examples
of code that I wrote in front of the &quot;Learning to Program
in Python&quot; delegates - to show them not only how a program
works, but also how I (and...</description>
<pubDate>Thu, 20 Aug 2009 07:45:03 +0000</pubDate>
<title>At the end of the course</title>
<description> Already, the days are getting shorter. At the end
of the Python Course, I walked along the canal with one of our
delegates who - wisely - decided to stop an extra night and drive
home to East Yorkshire...</description>
<pubDate>Wed, 19 Aug 2009 23:33:13 +0000</pubDate>
<title>Counting Words in Python via the web</title>
<description>I love writing things in Python - it&apos;s a great
language for achieving a great deal in a short time. And it works
well got Simple CGI scripts. Today&apos;s challenge - to count
the number of words (and number of...</description>
<pubDate>Tue, 18 Aug 2009 17:27:20 +0000</pubDate>
<title>Getting it right from the start - new programmers</title>
<description>From yesterday&apos;s &quot;Learning to Program in
Python&quot; - an example of splitting your program into manageable
chunks, which is SO IMPORTANT with regard to testing and ongoing
maintenance that we introduce the subject even on that first
day, with some...</description>
<pubDate>Mon, 17 Aug 2009 07:02:08 +0000</pubDate>
<title>Alpaca Case or Camel Case</title>
<description> A very first practical program on our Learning to
Program in Python course that started today. Even at this early
stage, we teach things like good practise in variable naming -
standards such as using a consistent case (e.g....</description>
<pubDate>Sun, 16 Aug 2009 17:09:02 +0000</pubDate>
Learn about this subject
This module and example are covered on our public Perl for Larger Projects course. If you have a group of three or more trainees who need to learn the subject, we can also arrange a private or on site course for you.

Books covering this topic
Yes. We have over 700 books in our library. Books covering Perl are listed here and when you've selected a relevant book we'll link you on to Amazon to order.

Other Examples
This example comes from our "Handling XML in Perl" training module. You'll find a description of the topic and some other closely related examples on the "Handling XML in Perl" module index page.

Full description of the source code
You can learn more about this example on the training courses listed on this page, on which you'll be given a full set of training notes.

Many other training modules are available for download (for limited use) from our download centre under an Open Training Notes License.

Other resources
• Our Solutions centre provides a number of longer technical articles.
• Our Opentalk forum archive provides a question and answer centre.
The Horse's mouth provides a daily tip or thought.
• Further resources are available via the resources centre.
• All of these resources can be searched through through our search engine
• And there's a global index here.

Web site author
This web site is written and maintained by Well House Consultants.

Purpose of this website
This is a sample program, class demonstration or answer from a training course. It's main purpose is to provide an after-course service to customers who have attended our public private or on site courses, but the examples are made generally available under conditions described below.

Conditions of use
Past attendees on our training courses are welcome to use individual examples in the course of their programming, but must check the examples they use to ensure that they are suitable for their job. Remember that some of our examples show you how not to do things - check in your notes. Well House Consultants take no responsibility for the suitability of these example programs to customer's needs.

This program is copyright Well House Consultants Ltd. You are forbidden from using it for running your own training courses without our prior written permission. See our page on courseware provision for more details.

Any of our images within this code may NOT be reused on a public URL without our prior permission. For Bona Fide personal use, we will often grant you permission provided that you provide a link back. Commercial use on a website will incur a license fee for each image used - details on request.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/ex.php • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb