DOMDocument::createProcessingInstruction
DOMDocument::getElementById
DOMDocument
PHP Manual

# DOMDocument::createTextNode

(PHP 5)

DOMDocument::createTextNode — Create new text node

### 설명

DOMText DOMDocument::createTextNode ( string `$content` )

This function creates a new instance of class DOMText. 이 노드는 DOMNode->appendChild() 등을 통하여 삽입하지 않으면 보여지지 않습니다.

### 인수

`content`

  The content of the text.

### 반환값

The new DOMText or `FALSE` if an error occured.

### 참고

- DOMNode::appendChild - Adds new child at the end of the children
- DOMDocument::createAttribute - Create new attribute
- DOMDocument::createAttributeNS - Create new attribute node with an associated namespace
- DOMDocument::createCDATASection - Create new cdata node
- DOMDocument::createComment - Create new comment node
- DOMDocument::createDocumentFragment - Create new document fragment
- DOMDocument::createElement - Create new element node
- DOMDocument::createElementNS - Create new element node with an associated namespace
- DOMDocument::createEntityReference - Create new entity reference node
- DOMDocument::createProcessingInstruction - Creates new PI node

DOMDocument::createProcessingInstruction
DOMDocument::getElementById
DOMDocument
PHP Manual