lxml: add namespace to input file
Modifying the namespace mapping of a node is not possible in lxml. See this open ticket that has this feature as a wishlist item. It originated from this thread on the lxml mailing list, where a workaround replacing the root node is given as an alternative. There are some issues with replacing the root node … Read more