XMLWriter::writeAttributeNS
(No version information available, might be only in CVS)
XMLWriter::writeAttributeNS — Write full namespaced attribute
說明
Object oriented style:
XMLWriter
bool writeAttributeNS
( string $prefix
, string $name
, string $uri
, string $content
)
Procedural style:
bool xmlwriter_write_attribute_ns
( resource $xmlwriter
, string $prefix
, string $name
, string $uri
, string $content
)
Writes a full namespaced attribute.
參數
- xmlwriter
-
僅用於過程調用。resource 是被修改的 XMLWriter 資源。此資源來自對 xmlwriter_open_uri() 或 xmlwriter_open_memory() 的調用
- prefix
-
The namespace prefix.
- name
-
The attribute name.
- uri
-
The namespace URI.
- content
-
The attribute value.
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。