Skip to content

Check tags existed or not by name #31

@ntvinhdev

Description

@ntvinhdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions