We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5db907d commit aacbbe8Copy full SHA for aacbbe8
src/XmlWriter.js
@@ -25,12 +25,6 @@ class XmlWriter{
25
doc.insertBefore(doc.createProcessingInstruction('xml', 'version="1.0" encoding="utf-8"'), doc.documentElement)
26
let documentElement = doc.documentElement
27
28
- if(namespaceURI && namespace){
29
- documentElement.setAttributeNS(namespaceURI, 'xmlns', namespace)
30
- }
31
- if(namespaceURI){
32
- documentElement.setAttributeNS(namespaceURI, 'xmlns:xsi', namespaceURI)
33
34
if(namespaceURI && schemaLocation){
35
documentElement.setAttributeNS(namespaceURI, 'xsi:schemaLocation', schemaLocation)
36
}
0 commit comments