Allow to use string attribute in x field tag
This commit is contained in:
1 parent
88a5add1d7
commit
4f473b264c
1 file changed
+2
-1
@@ -29,7 +29,8 @@ class ParserGraph(ParserInterface):
|
||||
if not child.nodeType == child.ELEMENT_NODE:
|
||||
continue
|
||||
xfield = common.node_attributes(child)
|
||||
xfield['string'] = fields[xfield['name']]['string']
|
||||
if not xfield.get('string'):
|
||||
xfield['string'] = fields[xfield['name']]['string']
|
||||
break
|
||||
elif node.localName == 'y':
|
||||
for child in node.childNodes:
|
||||
|
||||
Reference in new issue
Block a user