XMLCoder
XMLCoder copied to clipboard
Decoding attribute and element with same name but different values
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>
Hey @azhabort you should be able to use an array for this.