DOMEntityReference.AppendChild
AppendChild
Syntax
AppendChild(<NewNode>)
Parameters
<NewNode> (required)
Type: DOMAttribute, DOMDocument, DOMElement, DOMDocumentType, DOMNotation, DOMEntity, DOMDocumentFragment, DOMText, DOMComment, DOMCDATASection, DOMProcessingInstruction, DOMEntityReference, XPathNamespace. A new child DOM node.
Returned value
Type: DOMAttribute, DOMDocument, DOMElement, DOMDocumentType, DOMNotation, DOMEntity, DOMDocumentFragment, DOMText, DOMComment, DOMCDATASection, DOMProcessingInstruction, DOMEntityReference, XPathNamespace.
Description
Adds a node into the child node list; if the node in already included into the document tree, it is first deleted from the previous location. If the node is DocumentFragment, all the fragment contents is added into the child node list.
Availability
Server, thick client, external connection, mobile application (server), mobile standalone server.
Note
An exception is triggered:
- if this node does not allow a node to be added as a child node, or the added node is one of its parents, or the node is added to itself, or this node is Document and the second node is DocumentType or Element;
- if the added node is created by a document different from the document that has created this node;
- if this node is read-only or the previous parent of the added node is read-only;
- if the added node is a child of the Document node, and the implementation does not support deletion of DocumentType and Element nodes of the Document node.
Translation
Русская версия: СсылкаНаСущностьDOM.ДобавитьДочерний (DOMEntityReference.AppendChild)
No comments to display
No comments to display