just build a InputSource/BinInputStream pair for your udp data stream
and pass an instance of that inputsource to a dom/sax/sax2 parser, take
a look at LocalFileInputSource/BinFileInputStream in
xercesc/(util|framework).

mfg/regards
Tobias

-----Ursprüngliche Nachricht-----
Von: Andreas Karlsson [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 23. August 2004 10:18
An: [EMAIL PROTECTED]
Betreff: Parsing character streams

Hi,

is there a way to directly parse a character string
into a dom tree with xerces? I am writing an
application that gets its xml code via UDP and I would
want it to parse directly from the file descriptor or
a characer string.

regards 

  Andreas

Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på
adressen http://se.docs.yahoo.com/travel/index.html

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




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

Reply via email to