Unmarshaller unmarshaller = new Unmarshaller(dataSource);
UnmarshalHandler handler = unmarshaller.createHandler();
try {
handler.startDocument();
handler.startElement("data-source", null);
for (int i = 0; i < parameters.length; i++) {
param = (Param) parameters[i];
handler.startElement(param.getName(), null);
handler.characters(param.getValue().toCharArray(), 0, param.getValue().length());