Preview support.
This commit is contained in:
+3
-4
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user