Ideshini,

I've written a utility class to do just that (based on the DOMPrint
example) - you can find the code and some documentation at:
http://www.xs4all.nl/~ewh/DOMSerializer

Share & enjoy

Evert
-----Original Message-----
From: Ideshini Naidoo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 1:21 PM
To: '[EMAIL PROTECTED]'
Subject: DOM TREE as char *


Hi Everyone

Does anyone know how to convert a DOM tree into a string?
I need to be able to build an XML document and then generate a string
representation of the XML document that I can transmit over a socket
connection.

Please help.

Kind regards.
Ideshini.





"This e-mail may contain confidential information and may be legally
privileged and is intended only for the person to whom it is addressed. If
you are not the intended recipient, you are notified that you may not use,
distribute or copy this document in any manner whatsoever. Kindly also
notify the sender immediately by telephone, and delete the e-mail. When
addressed to clients of the company from where this e-mail originates ("the
sending company ") any opinion or advice contained in this e-mail is subject
to the terms and conditions expressed in any applicable terms of business or
client engagement letter . The sending company does not accept liability for
any damage, loss or expense arising from this e-mail and/or from the
accessing of any files attached to this e-mail."



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to