(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::startDocument -- xmlwriter_start_document — Create document tag
객체 기반 형식
$version
= 1.0
[, string $encoding
= NULL
[, string $standalone
]]] )절차식 형식
$xmlwriter
[, string $version
= 1.0
[, string $encoding
= NULL
[, string $standalone
]]] )Starts a document.
xmlwriter
순차적 호출에서만 사용. XMLWriter resource가 수정됩니다. 이 자원은 xmlwriter_open_uri()나 xmlwriter_open_memory() 호출로 만들어집니다.
version
The version number of the document as part of the XML declaration.
encoding
The encoding of the document as part of the XML declaration.
standalone
yes or no.
성공 시 TRUE
를, 실패 시 FALSE
를 반환합니다.