I have a program that is receiving xml via a socket connection from a
webserver.  So, there are HTTP headers in the transmission.  I want to
strip those headers off of course before I call parse().  So I am
doing the traditional accept() select() and recv().  I am reading all
of my data into a C++ ofstream and a ostringstream.  So all of this
data is single byte which I guess means XMLByte.  I guess I'm missing
something really obvious, but I cannot find a way to get single-byte
data into an XMLCh array.  I need to do this conversion so I can call
patternMatch() or something to strip out the HTTP headers.  I've got
pilot-lock on this problem, maybe there's an easier way to do the
whole thing.

-- 
Kelly Beard

Reply via email to