[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jeff Greif <jgreif@a...>
  • To: Gordon Stewart <gordon.stewart@n...>,xml-dev <xml-dev@l...>
  • Date: Fri, 05 Oct 2001 08:52:21 -0700

You could do this using almost any C or C++ XML parser.  For instance, using
expat (ftp://ftp.jclark.com/pub/xml/expat.zip), you fread into a buffer from
the stream hooked to the serial port on which the modem sits, and parse each
buffer, generating and handling SAX events.  You could use select(2) or
non-blocking i/o or an event-based framework (such as the ACE Reactor
www.cs.wustl.edu/~schmidt/ACE.html) to avoid polling the modem stream.

Jeff


----- Original Message -----
From: "Gordon Stewart" <gordon.stewart@n...>
To: "xml-dev" <xml-dev@l...>
Sent: Friday, October 05, 2001 7:54 AM
Subject:  Real time XML Parser


> Dear List
>
> Can anyone recommend a real time parser?  I have a very large XML document
> that I would like to send across a modem. I need to parse parts of the
> document as it is being received.  The parser needs to be able to talk to
> C++.



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member