HeaderType header = _40Factory.eINSTANCE.createHeaderType();
header.setCopyright("www.admire-project.eu");
header.setDescription("Tree model");
pmml.setHeader(header);
TreeModelType treeModel = _40Factory.eINSTANCE.createTreeModelType();
pmml.getTreeModel().add(treeModel);
NodeType nodeOfPMML = _40Factory.eINSTANCE.createNodeType();
treeModel.setNode(identifyAndAssociateNodes(nodeOfWeka, nodeOfPMML, null, null));
MiningSchemaType miningSchema = _40Factory.eINSTANCE.createMiningSchemaType();
treeModel.setMiningSchema(miningSchema);
for (int i=0; i < attributesArry.size() ;i++) {
String [] helpBox = attributesArry.get(i);
MiningFieldType miningField = _40Factory.eINSTANCE.createMiningFieldType();
miningField.setName(helpBox[0]); //String
miningSchema.getMiningField().add(miningField);