The xml2 Node Modification vignette states that using NULL as the value will remove the attribute completely. In the example below, the 'space' attribute in doc1 is correctly removed using this method. However, the 'xml:space' attribute in doc2 is not getting removed using this method.
Possibly related to 340.
The xml2 Node Modification vignette states that using
NULL
as the value will remove the attribute completely. In the example below, the 'space' attribute indoc1
is correctly removed using this method. However, the 'xml:space' attribute indoc2
is not getting removed using this method.Created on 2023-04-24 with reprex v2.0.2