Skip to content

xml parsing of external files #77

Description

@eshellman

lxml is probably the thing to use here in place of the python default.

first install lxml.

then, instead of
from xml.etree import ElementTree
in external.py, use
from lxml.etree import ElementTree, XMLParser

parser = XMLParser(recover=True)
ElementTree.fromstring(opds.content, parser=parser)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions