array2xml icon indicating copy to clipboard operation
array2xml copied to clipboard

Self-Closing does not work for Empty Elements with Attributes

Open arminfrey1 opened this issue 3 years ago • 0 comments

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.

arminfrey1 avatar Aug 30 '22 14:08 arminfrey1