28 |
parser.EndNamespaceDeclHandler = self.pop_namespace |
parser.EndNamespaceDeclHandler = self.pop_namespace |
29 |
parser.CommentHandler = self.comment |
parser.CommentHandler = self.comment |
30 |
parser.returns_unicode = True |
parser.returns_unicode = True |
31 |
parser.buffer_text = True |
try: |
32 |
|
parser.buffer_text = True |
33 |
|
except AttributeError: |
34 |
|
pass |
35 |
|
|
36 |
def __raw(self): |
def __raw(self): |
37 |
return self.parser.GetInputContext().split('>')[0] + u'>' |
return self.parser.GetInputContext().split('>')[0] + u'>' |