style = StyleFactory.create(NamedObject.format((String) styleText));
}
else {
style = StyleFactory.create(styleElement.getAttribute("STYLE_REF", null));
}
final ASelectableCondition condition;
if(styleElement.getChildrenCount() == 1){
final XMLElement conditionElement = styleElement.getChildAtIndex(0);
try {
condition = conditionFactory.loadCondition(conditionElement);
}