[xml] xml and logging



hi there,

I'd like to use xml to log some data, i.e. update a file in regular intervals, or state changes, etc.

The XML standard mandates a single root node, which means that
I can't just dump atomic entries into a file, I have to close
the root node, too, when the application ends.

How do others deal with this ? Should I install a signal handler
that terminates the application gracefully by closing the root
node before calling _exit() ?

Regards,
                Stefan




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