Forum und email

XMLWriter::writeElementNS

(No version information available, might be only in CVS)

XMLWriter::writeElementNS — Write full namesapced element tag

說明

Object oriented style:

XMLWriter
bool writeElementNS ( string $prefix , string $name , string $uri [, string $content ] )

Procedural style:

bool xmlwriter_write_element_ns ( resource $xmlwriter , string $prefix , string $name , string $uri [, string $content ] )

Writes a full namesapced element tag.

參數

xmlwriter

僅用於過程調用。resource 是被修改的 XMLWriter 資源。此資源來自對 xmlwriter_open_uri()xmlwriter_open_memory() 的調用

prefix

The namespace prefix.

name

The element name.

uri

The namespace URI.

content

The element contents.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE

更新日誌

版本 說明
PHP 5.2.3 The content parameter became optional.