if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
  TemplateNode clone(Stylesheet stylesheet)  {    return new ElementNode((children == null) ? null :                           children.clone(stylesheet),                           (next == null) ? null :                           next.clone(stylesheet),                           name.clone(stylesheet),                           (namespace == null) ? null :                           namespace.clone(stylesheet),                           uas, source);  }