Re: [xml] LIBXML2 xmlFileOpenW

Well, when opening a TextWriter to memory, there is no clear way to write it to disk.
Opening a new TextWriter to file taking a TestWriter to memory as parameter might solve this.
But more solutions are possible.
Then you don't need xmlFileOpenW exported.

Met vriendelijke groeten,
Peter Hofman
Twitter / LinkedIn / Stackoverflow / Quora / Live

On 9 October 2014 13:31, Daniel Veillard <veillard redhat com> wrote:
On Wed, Oct 08, 2014 at 02:38:04PM +0200, Peter Hofman wrote:
> Hi,
> Just wondering why xmlFileOpenW is not in the API XML document.
> Cheers,

  Because it's used for libxml2 I/O stack, and returns a void * which
is a write context that the user whould not know how to use as
this is platform specific...
  You think libxml2 doesn't export enough symbols ;-) ?


Daniel Veillard      | Open Source and Standards, Red Hat
veillard redhat com  | libxml Gnome XML XSLT toolkit | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]