Re: [xml] exchanging xml over a network




I'm interested in exchanging streamed xml data over a network. Are
there methods for serializing parsed xml documents to send over
tcp/ip? If not, can anyone suggest alternatives?

The best way to serialize a parsed XML document is to write it out as...

...XML! :)

Seriously, write the XML file to a socket, read it and parse it on the
other end, and your work is done. Just make sure that the document does
not refer to external entities, or make sure that you send them along with
the document.

Michael

-- 
Print XML with Prince!
http://www.princexml.com



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