[Mono-dev] XML Parser

Sunny sloncho at gmail.com
Mon Apr 10 12:55:20 EDT 2006


On 4/10/06, Przemysław Sitek <przemyslaw.sitek at rams.pl> wrote:
> Hi,
>
>    I would like to have a XML Parser that parses network XML stream from
> server. I would like to be able to feed it with data received from a socket,
> then be notified of XML nodes encountered in that stream. Say, server sends
> me
> <stream>
>     <message/>
>     <presence/>
>     <iq/>
> </stream>
> I would like to be notified when <message/>, <presence/>, <iq/> tags, as well
> with XML nodes associated with them.
>
>    Can this be achieved (such push-pull behaviour) with System.Xml? What
> class(es) should I use?
>
> Thanks in advance,
> Przemysław Sitek
> _______________________________________________


Take a look at XmlTextReader class.

--
--
Svetoslav Milenov (Sunny)


More information about the Mono-devel-list mailing list