Skip to content

xml parsing of external files #77

@eshellman

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)

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