[xml] xmlDocDump( FILE *, xmlDocPtr )

Date view Thread view Subject view Author view

From: Andrew Logan (aml@bsl.co.uk)
Date: Wed Aug 30 2000 - 05:53:47 EDT


Hi,

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

Andy

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

BSL Limited
Claverton Court
Claverton Road
Wythenshawe
Manchester
M23 9NE

Website - www.bsl.co.uk

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

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

----
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 - 03:43:41 EDT