Sameer Oak wrote:
Considering the expensive I/O calls involved in disk file handling, can one have an option over the argument to this API, or for that matter, does one have any other API that takes the pointer to the memory instead of the file?
maybe you need createDocFromMemory in DOMImplementation http://gdome2.cs.unibo.it/gtk-doc/gdome2-gdomedomimplementation.html#GDOME-DI-CREATEDOCFROMMEMORY