When creating an xmlElement right before a textNode on the same level it is ignored.
xml(
{
test:[
{'foo1':''},
{'bar1':''},
'textNode',
{'foo2':''},
{'bar2':''}
]
}
)
Yields the result
<test><foo1></foo1>textNode<foo2></foo2><bar2></bar2></test>
Notice the lack of bar1
When creating an xmlElement right before a textNode on the same level it is ignored.
Yields the result
Notice the lack of bar1