}
  TemplateNode clone(Stylesheet stylesheet)  {    int len = withParams.size();    List withParams2 = new ArrayList(len);    for (int i = 0; i < len; i++)      {        withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet));      }    TemplateNode ret = new CallTemplateNode(name, withParams2);    if (children != null)      {        ret.children = children.clone(stylesheet);      }    if (next != null)      {        ret.next = next.clone(stylesheet);      }    return ret;  }