<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1">
<TITLE>Converting VB to Python</TITLE>
</HEAD>
<BODY><FONT SIZE=3>*******************************************************************************************************************************************************<BR>
This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed.<BR>
*******************************************************************************************************************************************************<BR>
<BR>
</FONT>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT FACE="Times New Roman">I would be grateful for help and advice on the following:</FONT>
</P>
<P><FONT FACE="Times New Roman">I am trying to convert into Python an example VB program that uses MSXML 4.0 and the SAXXMLReader40 and XMLSchemaCache40 to validate an XML file against an XSD schema and to provide exhaustive errors. The routine is given here: </FONT><A HREF="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315497"><U><FONT COLOR="#0000FF" FACE="Times New Roman">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315497</FONT></U></A></P>
<P><FONT FACE="Times New Roman">In the VB version a class module is created to act as an error handler. The class starts with the statement</FONT>
</P>
<P><FONT FACE="Times New Roman">"Implements MSXML2.IVBSAXErrorHandler"</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">How do I convert an "Implements" statement to Python?</FONT>
</P>
<P><FONT FACE="Times New Roman">Thanks for your help</FONT>
</P>
<BR>
<BR>
<BR>
The original of this email was scanned for viruses by the Government Secure Intranet (GSi) virus scanning service supplied exclusively by Energis in partnership with MessageLabs.<BR>
<BR>
On leaving the GSi this email was certified virus-free<BR>
</BODY>
</HTML>