2005-08-05 | paulb | raw files shortlog changelog graph | [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. | |
XSLOutput.py (file) |
1.1 --- a/XSLOutput.py Mon Jul 25 11:34:32 2005 +0000 1.2 +++ b/XSLOutput.py Fri Aug 05 14:09:32 2005 +0000 1.3 @@ -51,7 +51,8 @@ 1.4 1.5 self.stylesheets = [] 1.6 for filename in filenames: 1.7 - self.stylesheets.append(libxsltmod.xsltParseStylesheetFile(filename)) 1.8 + doc = libxml2dom.macrolib.parseFile(filename) 1.9 + self.stylesheets.append(libxsltmod.xsltParseStylesheetDoc(doc)) 1.10 1.11 def __del__(self): 1.12