python feedparser
Question: How would you parse xml data as follows with python feedparser

    
    
    <Book_API>
    <Contributor_List>
    <Display_Name>Jason</Display_Name>
    </Contributor_List>
    <Contributor_List>
    <Display_Name>John Smith</Display_Name>
    </Contributor_List>
    </Book_API>
    


Answer: That doesn't look like any sort of RSS/ATOM feed. I wouldn't use feedparser at
all for that, I would use lxml. In fact, feedparser can't make any sense of it
and drops the "Jason" contributor in your example.

    
    
    from lxml import etree
    
    data = <fetch the data somehow>
    root = etree.parse(data)
    

Now you have a tree of xml objects. How to do it in lxml more specifically is
impossible to say until you actually give valid XML data. ;)

