private LocalizedXsdString elementAsLocalizedXsdString(XMLStreamReader reader) throws XMLStreamException
{
String id = reader.getAttributeValue(null, "id");
String lang = reader.getAttributeValue(null, "lang");
return new LocalizedXsdString(reader.getElementText().trim(), id, lang, reader.getLocalName());
}