You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Steve Barge <sb...@fc.hp.com> on 2002/08/22 17:20:53 UTC

Parsing C++ istream using SAX

Hi,

I'm new at xercesc-c programming, so please bear with me.

We are implementing pipe based tools that exchange XML data, so I want to
parse from a C++ istream.  I noticed that I can use StdInInputSource,
however I want to be able to input from an istream that is not necessarily
the stdin.  Does anybody know how I can do this?


Thanks
Steve Barge


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Parsing C++ istream using SAX

Posted by Gert van Spijker <ge...@ab-graph.com>.
One way of doing it is by redirecting stdin.

Gert

> I'm new at xercesc-c programming, so please bear with me.
>
> We are implementing pipe based tools that exchange XML data, so I want to
> parse from a C++ istream.  I noticed that I can use StdInInputSource,
> however I want to be able to input from an istream that is not necessarily
> the stdin.  Does anybody know how I can do this?
>
>
> Thanks
> Steve Barge
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org