polotek/libxmljs — pull request #80 by znerol (2011-10-17 14:04:52+00:00)
Title: Support for xmlwriter API

Support basic set of xmlwriter interface of libxml2. The following methods are supported:

* openMemory()
* outputMemory([flush])
* openURI(uri)
* startDocument([version [,encoding,[standalone]]])
* endDocument()
* startElementNS(prefix, name [,uri])
* endElement()
* startAttributeNS(prefix, name [,uri])
* endAttribute()
* startCdata()
* endCdata()
* startComment()
* endComment()
* writeString(string)

relevant libxml2 documentation:
http://www.xmlsoft.org/html/libxml-xmlwriter.html

openMemory, outputMemory and openURI is based on the corresponding PHP API:
http://php.net/manual/de/book.xmlwriter.php