XMLWriter::writeElementNS
xmlwriter_write_element_ns
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeElementNS -- xmlwriter_write_element_ns — Write full namespaced element tag
설명
객체 기반 형식
bool XMLWriter::writeElementNS
( string $prefix
, string $name
, string $uri
[, string $content
] )
절차식 형식
bool xmlwriter_write_element_ns
( resource $xmlwriter
, string $prefix
, string $name
, string $uri
[, string $content
] )
Writes a full namespaced element tag.
인수
- xmlwriter
-
순차적 호출에서만 사용. XMLWriter resource가 수정됩니다. 이 자원은 xmlwriter_open_uri()나 xmlwriter_open_memory() 호출로 만들어집니다.
- prefix
-
The namespace prefix.
- name
-
The element name.
- uri
-
The namespace URI.
- content
-
The element contents.
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.
변경점
| 버전 | 설명 |
|---|---|
| PHP 5.2.3 | The content parameter became optional. |
참고
- XMLWriter::startElementNS() - Create start namespaced element tag
- XMLWriter::endElement() - End current element
- XMLWriter::writeElement() - Write full element tag
There are no user contributed notes for this page.
