public XQExpression visit(ElementConstructor constructor, XQueryContext ctxt)
throws XQueryException {
final String name = constructor.getElemName();
if(name == null) {
final XQExpression nameExpr = constructor.getNameExpr();
nameExpr.visit(this, ctxt);
}
for(AttributeConstructorBase att : constructor.getAttributes()) {
att.visit(this, ctxt);
}
for(XQExpression v : constructor.getContents()) {