I need to create elements that have attributes, but no value that are self-closing. The current code creates:
<cargo weight="19200" unit="kg">
</cargo>
but what I need is:
<cargo weight="19200" unit="kg"/>
I'm using Array2xml to create a soap message and the current result is not legal code. This would fix that issue.
I need to create elements that have attributes, but no value that are self-closing. The current code creates:
<cargo weight="19200" unit="kg">
</cargo>
but what I need is:
<cargo weight="19200" unit="kg"/>
I'm using Array2xml to create a soap message and the current result is not legal code. This would fix that issue.