note 100528 added to function.xmlwriter-start-element
| From: | toby@php.net | Date: | Thu, 21 Oct 2010 18:01:17 +0000 |
| Subject: | note 100528 added to function.xmlwriter-start-element | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173346@lists.php.net to get a copy of this message | ||
Note that startElement() and startElementNS() naturally do not write the closing ">" of
the tag, since you may add an arbitrary number of attributes after starting a tag.
However, in some cases you may want to have the starting element tag closed in the output buffer
before writing any further elements or content (e.g. if you communicate via an XML stream). To
achieve this, you can simply use the text() method with an empty string.
----
Server IP: 85.214.154.209
Probable Submitter: 77.10.48.12
----
Manual Page -- http://www.php.net/manual/en/function.xmlwriter-start-element.php
Edit -- https://master.php.net/note/edit/100528
Del: integrated -- https://master.php.net/note/delete/100528/integrated
Del: useless -- https://master.php.net/note/delete/100528/useless
Del: bad code -- https://master.php.net/note/delete/100528/bad+code
Del: spam -- https://master.php.net/note/delete/100528/spam
Del: non-english -- https://master.php.net/note/delete/100528/non-english
Del: in docs -- https://master.php.net/note/delete/100528/in+docs
Del: other reasons-- https://master.php.net/note/delete/100528
Reject -- https://master.php.net/note/reject/100528
Search -- https://master.php.net/manage/user-notes.php