Skip to content

Can we remove empty tags from Xml #106

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

Open
SindhuKonda opened this issue Sep 25, 2018 · 7 comments
Open

Can we remove empty tags from Xml #106

SindhuKonda opened this issue Sep 25, 2018 · 7 comments

Comments

@SindhuKonda
Copy link

Can we remove empty tags/elements from xml which was generated using tik xml? If yes , can you please mention sample?

@SindhuKonda
Copy link
Author

Can we do it in type adapter ?

@SindhuKonda
Copy link
Author

I am not getting any idea of this in case of tik xml. Can any one please respond.. Thanks in advance.

@sockeqwe
Copy link
Contributor

sockeqwe commented Sep 26, 2018 via email

@sockeqwe
Copy link
Contributor

Feel free to send a Pull Request to fix this ...

@SindhuKonda
Copy link
Author

Pull request ?

@sockeqwe
Copy link
Contributor

Yeah, in case that this is very urgent for you, and you would like to contribute to the tikxml project, feel free to add this functionality and contribute back your changes (this is called Pull Request on Github).

@WeaponMan
Copy link
Contributor

Looks like tree problem.. You will check every property and the element itself with null checks before writing the beginning of that element, with one exception that is root element has to be written always.

If I thinking right this could go hand in hand with #57.

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

3 participants