summaryrefslogtreecommitdiffstats
path: root/xml/sax/drivers2/drv_htmllib.py
blob: 52440d0b8ec7b37e53ea466c082917b83d6315b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
A SAX 2.0 driver for htmllib.

$Id: drv_htmllib.py,v 1.2 2001/12/30 12:13:45 loewis Exp $
"""

import types, string

from xml.sax import SAXNotSupportedException, SAXNotRecognizedException
from xml.sax.xmlreader import IncrementalParser
from drv_sgmllib import SgmllibDriver

class HtmllibDriver(SgmllibDriver):

    from htmlentitydefs import entitydefs

# ---

def create_parser():
    return HtmllibDriver()