XML Document Validation with DocType Definitions
The following video is from an intensive (albeit introductory) course that I’ve been teaching on web technologies — XML, XHTML and CSS. It discusses how to validate the structure of an XML file using...
View ArticleXML Document Validation Using XML Schema
This video is the second in a series from a course (introductory and intensive) on web technologies that I am currently teaching. It shows how to validate an XML document using XML Schema. (The first...
View ArticleCode Snippet: Sending Mail with Python
Note: Whenever I come across an interesting or potentially useful piece of source code, I like to make a copy and file it away. I post some of them here in the hope that they will be useful to others...
View ArticleCode Snippet: Server Uptime (Linux and Mac OS X)
Note: Whenever I come across an interesting or potentially useful piece of source code, I like to make a copy and file it away. I post some of them here in the hope that they will be useful to others...
View ArticleInternal Server Errors (500) and DreamHost
For the past year and a half, I’ve been using DreamHost, a company based out of California, to host this website. In most ways, it’s been a fantastic experience. The customer service is prompt and...
View ArticleCreating and Managing Custom Windows Images with ImageX and Windows PE – Part 1
The ability to create custom installation images and deploy them to other machines is a very handy skill. If you are working in a large environment, you can create a master image with all of the tools...
View ArticleCreating and Managing Custom Windows Images with ImageX and Windows PE – Part 2
The ability to create custom installation images (whether they be of servers, desktops, or more specialized devices) is a tremendously handy thing. In Windows Server 2008, Microsoft released a tool...
View ArticleParsing XML with Python, Part 1: Installation
XML is one of the most versatile structural languages around. It is used extensively for file formats, storing miscellaneous data, and communicating between different programs. You can find it on the...
View ArticleParsing XML with Python, Part 2: Basic Use
As we talked about in Part 1 of this series, XML is one of the most versatile structural languages, which has led it to be used in nearly everything every sort of application imaginable. It serves as...
View ArticleParsing XML with Python, Part 3: Validation and Transforms
In Part 2 of this tutorial, we looked at how libxml (through the use of the lxml Python bindings) can be used to parse XML documents. We covered how to load XML files from disk, parse them, look for...
View Article