Creates an GLib.InputStream to write a string representation in XML of GomElement using node's GomDocument