[BioPython] Biopython XML parsers

Mike Cariaso MCariaso at Endogenybio.com
Thu Jun 19 16:23:25 EDT 2003


I'm working on a parser for MAGE-ML, but running into issues. The parser
examples in the tutorial are targeted at generic parsers. However MAGE
is an XML based format, and since so much effort has already gone into
XML parsers it seems inappropriate to use Martel. 

If I go with the sax parser, its not clear to me how to set up and use
an iterator. All I ever see is the content handler being setup and then
a call to start the parse.

I've checked the biopython tree for a suitable example, but if its there
I'm not seeing one.

Could someone either post a skeleton, or working code for ANY xml parser
that would play nicely with the biopython model.
 
Michael Cariaso
mcariaso at endogenybio.com





More information about the BioPython mailing list