Parsing large XML files in Python using the SAX API

XML has two different interfaces or APIs. You might ask, why do we even need an API to interface with such a simple format, never mind two?

If you accessed your XML directly, you could build a parser that would recognize tags (”<tagname>blah</tagname>”), and process them sequentially. How would you do this yourself? Well, you’d probably [...]

Archives

  • January 2010
  • November 2009
  • July 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • Site Feeds

    Posts
    Comments

    Marginal Structure Posts RSS feed

    Site Tags