updated libxml2 to 2.5.10
[TestXSLT.git] / libxml2 / python / libxml.py
index 8ffa383..ba74736 100644 (file)
@@ -511,6 +511,11 @@ class parserCtxtCore:
            or (None,None)."""
         return libxml2mod.xmlParserCtxtGetErrorHandler(self._o)
 
+    def addLocalCatalog(self, uri):
+        """Register a local catalog with the parser"""
+        return libxml2mod.addLocalCatalog(self._o, uri)
+    
+
 def _xmlTextReaderErrorFunc((f,arg),msg,severity,locator):
     """Intermediate callback to wrap the locator"""
     return f(arg,msg,severity,xmlTextReaderLocator(locator))