return new ElementNode(parse(children), parse(next), n, ns, uas, node);
Node children = node.getFirstChild(); ElementNode ret = new ElementNode(n, ns, uas, node); ret.children = parse(children); return ret;
  final TemplateNode parseElement(Node node, Node children, Node next)    throws TransformerConfigurationException, XPathExpressionException  {    NamedNodeMap attrs = node.getAttributes();    String name = getRequiredAttribute(attrs, "name", node);    String namespace = getAttribute(attrs, "namespace");    String uas = getAttribute(attrs, "use-attribute-sets");    TemplateNode n = parseAttributeValueTemplate(name, node);    TemplateNode ns = (namespace == null) ? null :      parseAttributeValueTemplate(namespace, node);    return new ElementNode(parse(children), parse(next), n, ns, uas, node);  }