Omitting all children of an element doesn't self-close
Phrogz opened this issue · comments
S = require'slaxdom'
doc = S:dom[[<r><k xmlns="die"/></r>]]
print(S:xml(doc,{omit={'die'}}))
--> <r></r>
Expected output is <r/>
.
SAX-like streaming XML parser for Lua
Phrogz opened this issue · comments
S = require'slaxdom'
doc = S:dom[[<r><k xmlns="die"/></r>]]
print(S:xml(doc,{omit={'die'}}))
--> <r></r>
Expected output is <r/>
.