Preview support.

This commit is contained in:
James Turner
2017-01-12 21:12:57 +00:00
parent 21a53b3537
commit e8a6c477cc
2 changed files with 101 additions and 19 deletions
+3 -4
View File
@@ -163,6 +163,9 @@ class PropsHandler(handler.ContentHandler):
def startElement(self, name, attrs):
self._content = None
if 'include' in attrs.keys():
self.handleInclude(attrs['include'])
if (name == 'PropertyList'):
return
@@ -178,10 +181,6 @@ class PropsHandler(handler.ContentHandler):
else:
self._current = self._current.addChild(name)
if 'include' in attrs.keys():
self.handleInclude(attrs['include'])
self._currentTy = None;
if 'type' in attrs.keys():
self._currentTy = attrs['type']