bema/func/libxml_backend #20

Merged
bema merged 25 commits from bema/func/libxml_backend into dev 2023-02-09 13:34:44 +01:00
Showing only changes of commit 6683ef688e - Show all commits

View File

@@ -17,7 +17,7 @@ def xpath(source: str, xpath: str) -> str:
root = etree.XML(source)
nsmap = root.nsmap
# LXML doesn't accept namespace with None key,
# LXML doesn't accept empty (None) namespace prefix,
# so it need to be deleted if exists
if None in nsmap:
nsmap.pop(None)