Generating HTML5 using XSLT
by Mike on Jan.28, 2011, under Technology, Tutorials

Recently, I have been updating some of my HTML generation tools to output valid HTML5, rather than the XHTML 1.0 standard I have been using for the last few years. The main advantage from my perspective is the ability to use the more semantic block elements, such as the nav, section and article elements. In [...]
Setting up a web project environment in Visual Studio 2010 to allow debugging using both IIS7 and the development Web server
by Mike on Jan.13, 2011, under Knowledge Base, Technology, Tutorials

We have run into an issue recently when importing a number of our legacy web projects into Visual Studio 2010. It seems that some projects don’t provide the options to allow us to run and debug them on the local version of IIS. For some reason, when a project is initially configured in VS2010 it [...]
Getting started with Libxml2 and Python (Part 2)
by Mike on Feb.21, 2007, under Knowledge Base, Technology, Tutorials
After I published the first part of this tutorial, John Dennis gave me some feedback on the xml@gnome.org mailing list (http://mail.gnome.org/archives/xml/2007-February/thread.html). He posed a couple of interesting questions 1. how do I build complex python objects by parsing an XML doc? 2. how can I serialize python objects into XML? Normally I would use pickling [...]
Using libxml2 and python to scrape content from a website
by Mike on Feb.06, 2007, under Knowledge Base, Technology, Tutorials
This is a practical example, using Libxml2 to parse a real-world Web page (I chose the TV listings pages from the Guardian Website as it is the type of page you are likely to want to scrape for useful data. Additionally, the Guardian TV listings contain a couple of very typical HTML errors. The listings [...]
Getting started with Libxml2 and Python (Part 1)
by Mike on Feb.06, 2007, under Knowledge Base, Technology, Tutorials
This article is an import from my old site – the original was published on 6th Feb 2007. Getting to grips with Libxml2 and Python can be a frustrating experience, particularly as in-depth, accurate Python documentation is hard to find on the Web. Many Python developers seem to dislike the Libxml2 bindings, as they are [...]