Sign In/My Account | View Cart  
advertisement

Article:
 Learning C# XML
Subject: Difference between push and pull parsers
Date: 2002-03-12 04:07:08
From: Jirka Kosek

You demonstration shown that it is fairly easy to convert MS pull parser into SAX evenets producer. But advantage of using pull parser is that you don't need to use call-back functions. You can do all processing inside loop of XmlReader and things which must be handled by maintaing state in SAX, can be done much more easily by nesting several loops or conditions inside main XmlReader loop. Using this approach C# example might be easier than Java one using SAX.

No Previous Message Previous Message   Next Message Next Message


Sponsored By: