Is there a thing such as an XML pull parser for D7? I've done a  
search and found nothing specifically advertised to be one, but  
haven't investigated every single parser out there to see whether it  
could be used in that way.

I mean something that could be used a bit like this, because you know  
the structure beforehand:

MyPullParser.ReadStartElement('FirstElement');
MyPullParser.ReadStartElement('ChildElement');
ChildElementValue := MyPullParser.ReadStartString();
MyPullParser.ReadEndElement('ChildElement');
MyPullParser.ReadStartElement('AnotherElement');
AnotherElementValue := MyPullParser.ReadStartString();
MyPullParser.ReadEndElement('AnotherElement');
MyPullParser. ReadEndElement('FirstElement');

For example, you want to add XML reading capability to an existing  
set of classes that read themselves from a binary stream (without  
having to read everything into a DOM object first).

If not using a pull parser, how else might you do this simply?



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to