Demo entry 6635039

dfdf

   

Submitted by anonymous on Aug 16, 2017 at 09:59
Language: Python. Code size: 419 Bytes.

def get_author(root):
    authors = []
    for author in root.findall('./fm/bibl/aug/au'):
        data = {
                "fnm": None,
                "snm": None,
                "email": None
        }
        data["fnm"] = author.find('./fnm').text
        data["snm"] = author.find('./snm').text
        data["email"] = author.find('./email').text

        authors.append(data)

    return authors

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).