Create a VNode with the given HTML tag

@param tag HTML tag for the new VNode
@param children Children
@return a new VNode of this tag
342430
public VNode el(String tag, Object... children) {
    return this.function.create(tag, children, null);
  }
1054755
public Xml createChild(String child)
    {
        Check.notNull(child);

        final Element element = document.createElement(child);
        root.appendChild(element);
        return new Xml(document, element);
    }
763020
public void removeChildren(String children)
    {
        getChildren(children).stream().map(Xml::getElement).forEach(root::removeChild);
    }
1165551
public synchronized boolean addChild(Node child) {
    if (child.parent != null) {
      throw new IllegalArgumentException(
          "The child is already under another node:" + child.parent);
    }
    checkChildren();
    boolean retval = children.add(child);
    if (retval) child.parent = this;
    return retval;
  }
19795
public List children() {
        if (value == null) {
            return new NodeList();
        }
        if (value instanceof List) {
            return (List) value;
        }
        // we're probably just a String
        List result = new NodeList();
        result.add(value);
        return result;
    }
32907
function Tag(tagName, config, children) {
  this.tagName = tagName || 'div';
  config = config || {};
  this.children = children || [];
  this.props = config.props;
  this.attrs = config.attrs;
  this.attrsNS = config.attrsNS;
  this.events = config.events;
  this.hooks = config.hooks;
  this.data = config.data;
  this.params = config.params;
  this.element = undefined;
  this.parent = undefined;

  this.key = config.key != null ? config.key : undefined;

  this.namespace = config.attrs && config.attrs.xmlns || null;
  this.is = config.attrs && config.attrs.is || null;
}
614142
function addChildNode(node, tagName) {
    return node.appendChild((node.ownerDocument || node).createElement(tagName));
}
843279
function(markup) {

	var container = document.createElement('div');
	container.innerHTML = markup;

	return new NWTNodeInstance(container.childNodes[0]);
}
84499
public Iterator childNodes() {
        return new Iterator() {
            private final Iterator iter = Node.this.children.iterator();
            private Object nextElementNodes = getNextElementNodes();

            public boolean hasNext() {
                return this.nextElementNodes != null;
            }

            public Object next() {
                try {
                    return this.nextElementNodes;
                } finally {
                    this.nextElementNodes = getNextElementNodes();
                }
            }

            public void remove() {
                throw new UnsupportedOperationException();
            }

            private Object getNextElementNodes() {
                while (iter.hasNext()) {
                    final Object node = iter.next();
                    if (node instanceof Node) {
                        return node;
                    }
                }
                return null;
            }
        };
    }
944445
def get_children_tag_names(self, xml_element):
        """"""
        tags = set()
        tags.add(self.remove_namespace_from_tag(xml_element.tag))

        for element in xml_element.iter(tag=etree.Element):
            if element != xml_element:
                new_tags = self.get_children_tag_names(element)
                if new_tags is not None:
                    tags.update(new_tags)
        return tags
756333
public SXTag addNode(String tagName) throws IOException {
		prepareToAddChildNode();
		SXTag node = new SXTag(tagName, writer, 0, tabString);
		lastChildNode = node;
		return node;
	}
905784
function(children) {
      return this.each(function(index, el) {
        children.each(function(index, child) {
          el.appendChild(child);
        });
      });
    }
30525
public static Iterable<Element> childrenWithTag(Element e, String tag) {
    return new ElementChildrenIterable(e, tagNameIsPredicate(tag));
  }
256963
function ListNode (children) {
    for(var i = 0; i < children.length; i++)
        this[i] = children[i];
    this.length = children.length;
}
867147
public Example addChild()
    {
        if (hasChild())
        {
            return child.addSibling();
        }
        else
        {
            if (childTags.isEmpty()) throw new IllegalStateException( "No child tag" );
            List<String> moreTags = new ArrayList<String>( childTags );
            String childTag = firstPattern( CollectionUtil.shift( moreTags ) );
            child = createSpecification( childTag, moreTags );
            return child;
        }
    }
568815
public CreateSimulationApplicationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
71667
public Node<T> addChild(Node<T> child) {
        if (children == null) {
            children = new ArrayList<Node<T>>();
        }
        child.parent = this;
        children.add(child);

        return child;
    }