void public \Bitrix\Main\XmlWriter::writeEndTag( string $code );
Non-static method writes end tag to file.