Re: [xml] XML streaming with libxml2



  So how I can use XML for streaming if I don't know the length of XML
  document in advance? I guess that XML doc may contain (theoretically)
  anything that I want to use as separator... Or I am wrong?

You must send your XML over something more complicated than a raw TCP
stream.  Something like the chunked-encoding packetizing protocol
of HTTP/1.1 might give you ideas.
        /r$

--
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
XML Security Overview      http://www.datapower.com/xmldev/xmlsecurity.html




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