# HG changeset patch # User paulb # Date 1123250972 0 # Node ID cda8db993363f891a75861e1347d7a2b0de2f113 # Parent 248b617ab607f1d546572653fb0b1f5f97be697c [project @ 2005-08-05 14:09:32 by paulb] Changed the stylesheet parsing to use the low-level libxml2dom functions, thus making use of various configuration changes which suppress warnings, network access, and so on. This removes the "DAV:" URI complaints. diff -r 248b617ab607 -r cda8db993363 XSLOutput.py --- a/XSLOutput.py Mon Jul 25 11:34:32 2005 +0000 +++ b/XSLOutput.py Fri Aug 05 14:09:32 2005 +0000 @@ -51,7 +51,8 @@ self.stylesheets = [] for filename in filenames: - self.stylesheets.append(libxsltmod.xsltParseStylesheetFile(filename)) + doc = libxml2dom.macrolib.parseFile(filename) + self.stylesheets.append(libxsltmod.xsltParseStylesheetDoc(doc)) def __del__(self):