Let Value of type String take an int as an argument
Added missing serialization of occurrences when serializing to XML