XMLCoder icon indicating copy to clipboard operation
XMLCoder copied to clipboard

Decoding attribute and element with same name but different values

Open azhabort opened this issue 2 years ago • 1 comments

Hello! @MaxDesiatov thanks for this great tool.

Is it possible to decode object with attribute and child element with same name but different values? For example xml:

<Shelf List="first">
	<List>
		<Book id="1"/>
		<Book id="2"/>
	</List>
</Shelf>

azhabort avatar Sep 06 '22 08:09 azhabort

Hey @azhabort you should be able to use an array for this.

Joannis avatar Sep 13 '22 11:09 Joannis