String comparison in TGML script is not working.
TGML graphics editor 1.1.X
String literal: string1 = "Apples"
String class: string1 = target.getAttribute("Name");
A deeper comparison is required in the example below. Instead of:
name = target.getAttribute("Name"); tmp = target.getParentNode().getElementsByTagName("Ellipse").item(i).getAttribute("Name"); if (tmp==name)
An example is shown in the TGML graphic attached. Download graphic