XMLWriter::writeElementNS

xmlwriter_write_element_ns

(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)

XMLWriter::writeElementNS -- xmlwriter_write_element_nsWrite 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

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

prefix

The namespace prefix.

name

The element name.

uri

The namespace URI.

content

The element contents.

回傳值

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

更新日誌

版本 說明
5.2.3 The content parameter became optional.

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top