Added style XML generation