// Get the resource
Resource resource = resSet.getResource(URI.createURI("website/My1.xml"), true);
// Get the first model element and cast it to the right type, in my
// example everything is hierarchical included in this first node
FlowConnectorDefinition myWeb = (FlowConnectorDefinition) resource.getContents().get(0);
Select select=(Select)myWeb.getPage().get(0).getWidget().get(0);
//select.getItems().get(0).getMixed();
return myWeb;
}