Neil Skilling (Deactivated)
13/03/2018
...
<xml/>
{ "xml" : "" }
<xml> <element/> </xml>
{ "xml": { "element": [ "" ] } }
<xml> <element>a</element> <element>b</element> <element>c</element> </xml>
{ "xml": { "element": [ "a", "b", "c" ] } }
<xml> <element attr1="a" attr2="b">first element</element> <element>second element</element> <element/> </xml>
{ "xml": { "element": [ { "$": { "attr2": "b", "attr1": "a" }, "_": "first element" }, "second element", "" ] } }