Quick note - writeElement also seems to decode any HTML entities during the write. For example, if you pass it "Me & You", it will write the output as "Me & You".
Search by function name:
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeElement -- xmlwriter_write_element — Write full element tag
Object oriented style
Writes a full element tag.
TRUE on success or
FALSE on failure.
CACHED: (2013-05-17 18:39:05)