Author: dmeyer
Date: Sat Jun 23 09:21:47 2007
New Revision: 2718

Modified:
   trunk/base/src/xmlutils.py

Log:
add some basic parse code to SaxTreeHandler

Modified: trunk/base/src/xmlutils.py
==============================================================================
--- trunk/base/src/xmlutils.py  (original)
+++ trunk/base/src/xmlutils.py  Sat Jun 23 09:21:47 2007
@@ -121,3 +121,10 @@
         SaxTreeHandler callback at the end of parsing.
         """
         pass
+
+
+    def parse(self, f):
+        parser = xml.sax.make_parser()
+        parser.setFeature(xml.sax.handler.feature_external_ges, False)
+        parser.setContentHandler(self)
+        parser.parse(f)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to