if (subNode.getNodeType() == Node.ELEMENT_NODE) {
if (subNode.getNodeName().equals("Properties")) {
for (Node propertyNode = subNode.getFirstChild(); propertyNode != null; propertyNode = propertyNode.getNextSibling()) {
if (propertyNode.getNodeType() == Node.ELEMENT_NODE) {
Property property = PropertyFactory.createProperty(realm, propertyNode);
cityImprovement.addProperty(property);
}
}
}
}
}