Re: [xml] Dump document to a buffer without xml version

2014-08-22 Thread Daniel Veillard
On Fri, Aug 22, 2014 at 08:34:37AM +0200, Iñigo Martínez wrote: > It looks like a longer way. I mean, with the new saving API there is > one more variable and one more function call, plus the creation of the > full document, instead of using only just the nodes. Some code > snippets. > > Using the

Re: [xml] Dump document to a buffer without xml version

2014-08-22 Thread Iñigo Martínez
Yeah, it's ok, and the answer is totally valid. I only wondered if my approach had any known drawback. Thank you very much :) 2014-08-22 9:16 GMT+02:00 Daniel Veillard : > On Fri, Aug 22, 2014 at 08:34:37AM +0200, Iñigo Martínez wrote: >> It looks like a longer way. I mean, with the new saving AP

Re: [xml] Dump document to a buffer without xml version

2014-08-22 Thread Iñigo Martínez
I didn't want to miss you. I just wanted a direct solution, but i wasn't sure about the best/correct approach. Wrapping it is a good solution if you are going to switch over different solutions, but usually it causes an overhead. I'm not thinking on changing it at the moment, as it just works, and