ensure that the XJSElement is a sql tag