}
if (child.getLocalName().endsWith("LayoutData")) {
Map<String, String> layoutDataAttrs = new HashMap<String, String>();
while (child.getAttributeCount() > 0) {
XMLAttribute attr = child.getAttribute(0);
layoutDataAttrs.put(attr.getLocalName(), attr.consumeStringValue());
}
XMLElement widget = child.consumeSingleChildElement();
String childFieldName = writer.parseElementToField(child);
String widgetFieldName = writer.parseElementToField(widget);