Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check tags existed or not by name #31

Open
ntvinhdev opened this issue Jan 8, 2018 · 0 comments
Open

Check tags existed or not by name #31

ntvinhdev opened this issue Jan 8, 2018 · 0 comments

Comments

@ntvinhdev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant