private Element createMicrosoftElement(String name, boolean nullable, List<String> value) throws ParserConfigurationException {
String stringValue = null;
if (value != null) {
try {
StringListTypeAdapter adapter = new StringListTypeAdapter();
stringValue = adapter.marshal(value);
} catch (Exception e) {
throw new ParserConfigurationException("Ошибка преобразования списка строк");
}
}
Element element = createMicrosoftElement(name, nullable, MicrosoftTypes.DateTime, stringValue);