You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I got xml files that contain self-closing tag like <element /> in order to indicate whether the data is checked at element. I checked the docs, but I found no way to check that tag is existed or not. To deal with that, I must define one empty object and use @Element() above the attribute using my object type. So my question is do we any ways to check tags existed or not by name? If not, do we have any better solutions than mine?
Many thanks.
The text was updated successfully, but these errors were encountered:
Sometimes I got xml files that contain self-closing tag like
<element />
in order to indicate whether the data is checked at element. I checked the docs, but I found no way to check that tag is existed or not. To deal with that, I must define one empty object and use@Element()
above the attribute using my object type. So my question is do we any ways to check tags existed or not by name? If not, do we have any better solutions than mine?Many thanks.
The text was updated successfully, but these errors were encountered: