Function loadStyleAttributes

load style attributes from XML element

bool loadStyleAttributes(
  Style style,
  dxml.dom.DOMEntity!(string) elem,
  bool allowStates
);