Re: [xml] xmlDocDump( FILE *, xmlDocPtr )

Date view Thread view Subject view Author view

From: Stefan Bambach (bambach@triplex.de)
Date: Wed Aug 30 2000 - 09:27:53 EDT


Hallo Andrew,

Why don't you use xmlSaveFile(), xmlSaveFileEnc(), xmlSaveFileTo() ? I
think you can upload it to an URL too ! I didn't try it, but I can
save it to disc.

Wednesday, August 30, 2000, 11:53:47 AM, you wrote:

AL> Hi,

AL> Can somebody explain why xmlDocDump() closes the the file pointer when it
AL> has finished writing?
AL> I thought this could be a simple way of dumping an in-memory XML document
AL> down a network channel to a server.
AL> I've written a small wrapper for this which dup()'s the network file
AL> descriptor and then fdopen()'s the descriptor to give me a file pointer -
AL> this enables me to keep the network channel open.
AL> Any comments?
AL> Can you cc any replies to me as I am not subscribed to the list.
AL> Thanks,

AL> Andy

AL> Andrew Logan
AL> Systems Programmer
AL> Office phone - 0161 952 2424
AL> Email - aml@bsl.co.uk

AL> BSL Limited
AL> Claverton Court
AL> Claverton Road
AL> Wythenshawe
AL> Manchester
AL> M23 9NE

AL> Website - www.bsl.co.uk

AL> BSL Limited, Registered office - Third Floor Station House,
AL> Stamford New Road,
AL> Altrincham, Cheshire WA14 1EP. Registered no. 569290 (England)
AL> V.A.T. no. G.B. 305 9559 42

AL> This email and any associated file contains confidential information and is
AL> intended solely for the person(s) named. If you
AL> are not the intended recipient, please do not read, print, store, disclose,
AL> re-distribute or act upon any information contained. Instead, please return
AL> to the sender and delete the message and / or files
AL> from your PC.

AL> ----
AL> Message from the list xml@rpmfind.net
AL> Archived at : http://xmlsoft.org/messages/
AL> to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net

Mit freundlichen Grüssen.
Stefan Bambach

-- 
Stefan Bambach

triplex-agentur fuer neue medien GmbH herzog-heinrich-strasse 11-13 80336 muenchen

tel: 089-209 138 29 fax: 089-209 138 10

mailto:bambach@triplex.de http://www.triplex.de

---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 30 2000 - 09:43:50 EDT