XPath x3 = XPath.newInstance("//order[@id='"+ name + "']");
List listOfElement_3 = x3.selectNodes(_dom.getDoc());
if(listOfElement_3.isEmpty()) {
x3 = XPath.newInstance("//add_order[@id='"+ name + "']");
listOfElement_3 = x3.selectNodes(_dom.getDoc());
}
if(!listOfElement_3.isEmpty()) {
SchedulerForm f = (SchedulerForm)(sos.scheduler.editor.app.MainWindow.getContainer().getCurrentEditor());
if(f == null)