// for (VarscriptBean scriptBean : col) {
// scriptBean.remove(con);
// }
// The attribute must be in the same order because of the schema
int orderNr = 0;
VarscriptBean varScriptBean = null;
for (Node node : scriptList) {
scriptName = node.getName().trim();
scriptValue = node.getText().trim();
varScriptBean = new VarscriptBean();
varScriptBean.setAutoid(autoId);
varScriptBean.setId(elementId);
varScriptBean.setScriptname(scriptName);
varScriptBean.setOrdernumber(new Integer(orderNr));
varScriptBean.setScriptvalue(scriptValue);
varScriptBean.create(con);
orderNr++;
}
}